Merge pull request #68966 from clayjohn/GLES3-model-matrix

Expose model_matrix in GLES3 scene fragment shader
This commit is contained in:
Rémi Verschelde 2022-11-22 08:28:55 +01:00
commit 6d5570d790
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -920,6 +920,7 @@ void main() {
#else
vec3 view = -normalize(vertex_interp);
#endif
highp mat4 model_matrix = world_transform;
vec3 albedo = vec3(1.0);
vec3 backlight = vec3(0.0);
vec4 transmittance_color = vec4(0.0, 0.0, 0.0, 1.0);