Raoulemilian
New Member
Hey! So i allready read some topics like this but it's not working for me. I want to create light spots into my map. I have my mesh as a simple plane named "lightmesh"(set up as non renderable in kseditor) and apply to it the material named "lightmat". I added in mytrack/extension/ext_config.ini the next code:
So,what i am doing wrong ? I can not see any light
Code:
[MATERIAL_ADJUSTMENT_0]
ACTIVE=1
DESCRIPTION=lits glow
MESHES=lightmesh
KEY_0=ksEmissive
VALUE_0=255, 209, 178, 0.5
VALUE_0_OFF=ORIGINAL
KEY_1=ksAlphaRef
VALUE_1=-193 ; secret parameter makes it more "glowy"
VALUE_1_OFF=ORIGINAL
CONDITION=NIGHT_SMOOTH
[LIGHT_SERIES_29]
ACTIVE=1
DESCRIPTION=lits glow
MATERIALS=lightmat
OFFSET=0,0,0
DIRECTION=0,-1,0 ; down
RANGE=25 ; play with this
RANGE_GRADIENT_OFFSET=0.2
SPOT=100
SPOT_SHARPNESS=0.5
FADE_SMOOTH=30
FADE_AT=500
CLUSTER_THRESHOLD=25 ; play with this, its how many lights-sources are genereated
DIFFUSE_CONCENTRATION=0.15 ; play with this
COLOR=255, 255, 255, 0.05 ; r,g,b,brightness - play with it!
CONDITION=NIGHT_SMOOTH