REVIEWED: Shaders formating to follow raylib code conventions
This commit is contained in:
parent
8dae39fbda
commit
9b598f6bcf
1 changed files with 806 additions and 806 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#version 100
|
||||
#version 100
|
||||
|
||||
#extension GL_EXT_frag_depth : enable // Extension required for writing depth
|
||||
precision mediump float; // Precision required for OpenGL ES2 (WebGL)
|
||||
|
||||
|
|
@ -11,6 +12,7 @@ uniform vec4 colDiffuse;
|
|||
void main()
|
||||
{
|
||||
vec4 texelColor = texture2D(texture0, fragTexCoord);
|
||||
|
||||
gl_FragColor = texelColor*colDiffuse*fragColor;
|
||||
gl_FragDepthEXT = gl_FragCoord.z;
|
||||
gl_FragDepthEXT = gl_FragCoord.z;
|
||||
}
|
||||
Loading…
Reference in a new issue