Raylib 6.0 bugs after tests (#338)
* Sync of all the shaders from upstream + LoadFontData did not match anymore with C and crashed on MacOS * Updated JuliaSet demo. Did not work with the new shader version. * Removed unused `pause` variable from JuliaSet example. --------- Co-authored-by: Meatcorps <info@meatcorps.nl>
This commit is contained in:
parent
21d83c60a9
commit
8daf812930
83 changed files with 823 additions and 815 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#version 100
|
||||
|
||||
#extension GL_EXT_frag_depth : enable // Extension required for writing depth
|
||||
|
||||
precision mediump float; // Precision required for OpenGL ES2 (WebGL)
|
||||
|
||||
varying vec2 fragTexCoord;
|
||||
|
|
@ -11,6 +13,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