Add u_invModelView uniform to shader and documentation (#3421)

This commit is contained in:
Luigi Malomo
2025-04-12 01:54:42 +02:00
committed by GitHub
parent 01dc8c59b4
commit c8f237a39b
12 changed files with 31 additions and 0 deletions

View File

@@ -128,6 +128,7 @@ Predefined Uniforms
mat4 u_invViewProj Transform clip-to-world space.
mat4[N] u_model Transform local-to-world space array.
mat4 u_modelView Transform local-to-view space.
mat4 u_invModelView Transform view-to-local space.
mat4 u_modelViewProj Transform local-to-clip space.
float u_alphaRef | The reference value to which incoming alpha
| values are compared.