1
0
forked from 0ad/0ad
0ad/binaries/data/mods/official/shaders
prefect e2bbd9a654 #Models receive shadows now, including self-shadows.
This is a huge patch, including:
* add a LitRenderModifier abstract base class for RenderModifiers with
  shadow+light
* add LitRenderModifiers for all types of models
* add STREAM_TEXGENTOUV1 to request generation of shadow map texcoords
  for models
* create facilities to pass the texture matrix from the
  RenderModifier (fragment stage) to the ModelRenderer (vertex stage)
* split ambient and diffuse terms of lighting until further down in the
  pipeline; this is necessary since shadowed regions receive only
ambient light
* small improvement in how RenderPathVertexShader scales to a greater
  number of vertex shaders

This was SVN commit r3690.
2006-03-26 00:54:20 +00:00
..
globallight.vs - Terrain self-shadows (only noticeable with a low angle of sun) 2006-02-13 14:18:20 +00:00
instancing_base.vs Add ARB_vertex_shader specific functions to glext_funcs.h 2005-10-30 00:22:22 +00:00
instancing_light.vs Work around what is apparently an ATI driver bug in the GLSL implementation 2005-11-06 22:47:26 +00:00
instancing_light.xml - Terrain self-shadows (only noticeable with a low angle of sun) 2006-02-13 14:18:20 +00:00
instancing_lightp.vs #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
instancing_lightp.xml #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
instancing.vs Work around what is apparently an ATI driver bug in the GLSL implementation 2005-11-06 22:47:26 +00:00
instancing.xml instancing.xml doesn't need shlight.vs (thanks to Philip for pointing it out) 2005-11-06 17:36:58 +00:00
instancingp.vs #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
instancingp.xml #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
model_light.vs Work around what is apparently an ATI driver bug in the GLSL implementation 2005-11-06 22:47:26 +00:00
model_light.xml - Terrain self-shadows (only noticeable with a low angle of sun) 2006-02-13 14:18:20 +00:00
model_lightp.vs #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
model_lightp.xml #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00
postouv1.vs #Models receive shadows now, including self-shadows. 2006-03-26 00:54:20 +00:00