File tree Expand file tree Collapse file tree
code/def_files/data/effects Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ out vec4 fragOut0; // Diffuse buffer
1010out vec4 fragOut1; // Normal buffer
1111out vec4 fragOut2; // Emissive buffer
1212
13- in flat mat4 invModelMatrix;
14- in flat vec3 decalDirection;
15- in flat float normal_angle_cutoff;
16- in flat float angle_fade_start;
17- in flat float alpha_scale;
13+ flat in mat4 invModelMatrix;
14+ flat in vec3 decalDirection;
15+ flat in float normal_angle_cutoff;
16+ flat in float angle_fade_start;
17+ flat in float alpha_scale;
1818
1919uniform sampler2D gDepthBuffer;
2020uniform sampler2D gNormalBuffer;
Original file line number Diff line number Diff line change 22in vec4 vertPosition;
33in mat4 vertModelMatrix;
44
5- out flat mat4 invModelMatrix;
6- out flat vec3 decalDirection;
7- out flat float normal_angle_cutoff;
8- out flat float angle_fade_start;
9- out flat float alpha_scale;
5+ flat out mat4 invModelMatrix;
6+ flat out vec3 decalDirection;
7+ flat out float normal_angle_cutoff;
8+ flat out float angle_fade_start;
9+ flat out float alpha_scale;
1010
1111layout (std140) uniform decalGlobalData {
1212 mat4 viewMatrix;
You can’t perform that action at this time.
0 commit comments