Editing Darkplaces lighting/Special effects
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{navigation title|Lighting | + | {{navigation title|Lighting methods}} |
− | + | ||
This chapter contains reference of various special effects hardcoded in light renderer. This special effects, applied or combined will help to create wide range of things, such as:switchable lights, projective lights, sunlight simulation, flickering lights and more. | This chapter contains reference of various special effects hardcoded in light renderer. This special effects, applied or combined will help to create wide range of things, such as:switchable lights, projective lights, sunlight simulation, flickering lights and more. | ||
Line 22: | Line 21: | ||
Planar shadows are either stencil or shadowmapped if shadowmapping is on. | Planar shadows are either stencil or shadowmapped if shadowmapping is on. | ||
− | {{tip|Planar shadows | + | {{tip|Planar shadows could be used to simulate sunlight in outdoor locations.}} |
{{cvar|r_shadows|Enable planar shadows cast using [[lightgrid]]-stored light direction. When set to 2 always cast the shadows in the certain direction (see below). Shadowmapping only supports r_shadows 2.}} | {{cvar|r_shadows|Enable planar shadows cast using [[lightgrid]]-stored light direction. When set to 2 always cast the shadows in the certain direction (see below). Shadowmapping only supports r_shadows 2.}} |