BTS Light Sources: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 66: Line 66:
|}
|}


{{note|These values should be quite small due to the size of the lamp.}}





Revision as of 19:43, 22 October 2019


Portal Behind The Scenes Level Creation

Introduction

This page will show and teach you how to create the light sources found in the Behind The Scenes Areas.

Warning.pngWarning:This page is incomplete, not a lot has been added.

SpotLight Lamps

SpotLight Lamps can be attached to the floor or ceiling.

Big Lamp

Create a prop_static entity set it's world model to models/props_wasteland/light_spotlight01_lamp.mdl this model is the lamp itself. The base model is models/props_wasteland/light_spotlight01_base.mdl disable shadows for both props.

Create a point_spotlight and enter the following Properties:

Property Name Value
Color 250 240 205
HDR color scale .7
Spotlight Width 80
Spotlight Length Is how long the spotlight will go.

Create a light_spot and enter the following Properties:

Property Name Value
Brightness 250 240 205 900
Constant 500000

Small Lamp

Create a prop_static entity set it's world model to models/props_wasteland/light_spotlight02_lamp.mdl this model is the lamp itself. The base model is models/props_wasteland/light_spotlight02_base.mdl disable shadows for both props.

Create a point_spotlight and enter the following Properties:

Property Name Value
Color 250 240 205
HDR color scale .7
Spotlight Width 32
Spotlight Length Is how long the spotlight will go.

Create a light_spot and enter the following Properties:

Property Name Value
Brightness 250 240 205 900
Constant 500000
Inner (bright) Angle 1
Outside (fading) Angle 25
Focus 0.5



Todo: Add more lightsouces

See Also