Light Textures and Falloff Images: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
Example Light Shader:
Example Light Shader:


<p>
 


lights/aa_1_sky1
lights/aa_1_sky1
Line 21: Line 21:
}  
}  


</p>
 


Example Ambient Light Shader:
Example Ambient Light Shader:


lights/aa_1_amb1
lights/aa_1_amb1
Line 36: Line 37:
}
}
}  
}  


Sub-Directories
Sub-Directories
Materials, Lights, LightsShadows, TexturesLights
Materials, Lights, LightsShadows, TexturesLights
Look in tdm_textures_base01
Look in tdm_textures_base01
tdm_light_shadows
tdm_light_shadows

Revision as of 12:52, 10 August 2010

Placeholder References:

Works with the Light Gem.


Example Light Shader:


lights/aa_1_sky1 { lightFalloffImage makeIntensity( gfx/lights/1_sky1_z.tga ) { forceHighQuality map gfx/lights/1_sky1_xy.tga red Parm0 * 2 green Parm1 * 2 blue Parm2 * 2 zeroClamp } }


Example Ambient Light Shader:


lights/aa_1_amb1 { ambientLight lightFalloffImage makeIntensity( gfx/lights/xrampup.tga ) { forceHighQuality map gfx/lights/1_amb1_xy.tga colored // zeroClamp } }


Sub-Directories Materials, Lights, LightsShadows, TexturesLights

Look in tdm_textures_base01 tdm_light_shadows tdm_light_textures

Light Baking Thread:

http://modetwo.net/darkmod/index.php?/topic/11416-light-baking/

Strombine:

http://www.lunaran.com/page.php?id=165

Strombine at Quake3world:

http://www.quake3world.com/forum/viewtopic.php?t=29872