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

@@ -1954,6 +1954,7 @@ func.destroy { cname = "destroy_frame_buffer" }
--- - `u_model mat4[BGFX_CONFIG_MAX_BONES]` - array of model matrices.
--- - `u_modelView mat4` - concatenated model view matrix, only first
--- model matrix from array is used.
--- - `u_invModelView mat4` - inverted concatenated model view matrix.
--- - `u_modelViewProj mat4` - concatenated model view projection matrix.
--- - `u_alphaRef float` - alpha reference value for alpha test.
---