mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-29 06:13:22 +00:00
e2bbd9a6545f2b0af9aeccd3fb38f31171304170
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.
Description
Public pull mirror of upstream 0 A.D. from Wildfire Games Gitea.
Languages
C++
56.4%
JavaScript
35.5%
C
3.3%
Python
2.2%
Lua
0.6%
Other
1.7%