MustaPekka Posted June 9, 2002 Posted June 9, 2002 Hey, I was wondering simply how to make texture emit light in the game. In the ShaderED2 I have assigned settings Light Color 1, .52, 0 and Surface Light with value of 15. But in game, the light does not illuminate anything, but is just normal, static non-lighted texture ??
JeGGoR Posted June 9, 2002 Posted June 9, 2002 I'm not expert in shaders but I think that a value of 15 is really low. Perhaps does your shader work but you just can't see the difference. Try with 1500 Or even more
volrathxp Posted June 9, 2002 Posted June 9, 2002 Originally posted by MustaPekka Hey, I was wondering simply how to make texture emit light in the game. In the ShaderED2 I have assigned settings Light Color 1, .52, 0 and Surface Light with value of 15. But in game, the light does not illuminate anything, but is just normal, static non-lighted texture ?? does it have a lightmap stage?
MustaPekka Posted June 9, 2002 Author Posted June 9, 2002 Here is the full shader for the texture. textures/mytextures/test_light04 { lightcolor ( 1 0.501961 0 ) q3map_surfacelight 15 { map $lightmap } { map textures/mytextures/test_light04 blendFunc GL_DST_COLOR GL_ZERO } { map textures/mytextures/test_light04glow blendFunc GL_ONE GL_ONE } }
Recommended Posts
Archived
This topic is now archived and is closed to further replies.