From: Mikko Rasa Date: Tue, 4 Oct 2022 21:11:58 +0000 (+0300) Subject: Fix some errors in the Phong shader X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=0a46a7d359656759a0a39a20ebffb2d214ec0ac7;p=libs%2Fgl.git Fix some errors in the Phong shader --- diff --git a/shaderlib/phong.glsl b/shaderlib/phong.glsl index 5334455c..5ce5cb91 100644 --- a/shaderlib/phong.glsl +++ b/shaderlib/phong.glsl @@ -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;