mirror of
https://git.zelz.net/catfoolyou/Project164.git
synced 2025-12-14 14:17:42 +00:00
75 errors
This commit is contained in:
25
lwjgl-rundir/resources/glsl/occl.glsl
Normal file
25
lwjgl-rundir/resources/glsl/occl.glsl
Normal file
@@ -0,0 +1,25 @@
|
||||
#line 2
|
||||
|
||||
precision highp int;
|
||||
precision highp sampler2D;
|
||||
precision highp float;
|
||||
|
||||
#ifdef CC_VERT
|
||||
uniform mat4 matrix_m;
|
||||
uniform mat4 matrix_p;
|
||||
|
||||
in vec3 a_vert;
|
||||
|
||||
void main(){
|
||||
gl_Position = (matrix_p * (matrix_m * vec4(a_vert, 1.0)));
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CC_FRAG
|
||||
|
||||
out vec4 fragColor;
|
||||
|
||||
void main(){
|
||||
fragColor = vec4(1.0);
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user