]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix some errors in the Phong shader
authorMikko Rasa <tdb@tdb.fi>
Tue, 4 Oct 2022 21:11:58 +0000 (00:11 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 4 Oct 2022 21:22:35 +0000 (00:22 +0300)
shaderlib/phong.glsl

index 5334455cd240cf1cba32084852ad33b3a673f1f2..5ce5cb91c1cf0a9d4f00be8a6c51e9aa50c28fbd 100644 (file)
@@ -1,6 +1,7 @@
 import msp_interface;
 import common;
 import shadow;
+import environment;
 
 struct BasicMaterialParameters
 {
@@ -14,7 +15,7 @@ struct BasicMaterialParameters
 layout(set=1) uniform BasicMaterial
 {
        BasicMaterialParameters basic_material;
-       AlphaCutoffParameters alpha_cutoff;
+       AlphaCutoffParams alpha_cutoff;
 };
 
 layout(set=1) uniform sampler2D diffuse_map;