18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 22:07:55 +01:00
Files
maszyna/rendering/opengl46
lcddisplay 4392036064 OpenGL 4.6: a material can have its own vertex shader, mat_<name>.vert
Fetch_Shader() links mat_<name>.vert with the fragment shader of the material
when the file is there (people animated by textures, mat_vat.vert), the common
vertex.vert otherwise. The multi draw variant takes the same shader with
MODEL_DRAWS. The sun shadows of such materials go through the same vertex
shader with MATERIAL_SHADOW and (alpha)shadowmap.frag, with the textures and
params of the material bound; in the indirect shadow pass they are drawn one by
one. The depth prepass leaves them out (Prepass_Class() 0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXgG7F4L42c2F9sDSAJbT2
2026-11-02 10:35:33 +01:00
..
2026-10-26 15:51:56 +01:00
2026-10-26 15:51:56 +01:00