summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_draw_3d.data
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 10:31:31 +0200
committerRay <[email protected]>2022-08-02 10:31:31 +0200
commit5fc1538c24f61bd5973ce6f3514ecaadef8f1cd9 (patch)
treebd81bb12ac15d4d9697baaa6d448cdd15c4a85cf /examples/text/text_draw_3d.data
parent192e2026607b27e0226a1e2c4336799b77a2b4e8 (diff)
downloadraylib.com-5fc1538c24f61bd5973ce6f3514ecaadef8f1cd9.tar.gz
raylib.com-5fc1538c24f61bd5973ce6f3514ecaadef8f1cd9.zip
Update examples to raylib 4.2
Diffstat (limited to 'examples/text/text_draw_3d.data')
-rw-r--r--examples/text/text_draw_3d.data4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/text/text_draw_3d.data b/examples/text/text_draw_3d.data
index a6b1e20..15aacf5 100644
--- a/examples/text/text_draw_3d.data
+++ b/examples/text/text_draw_3d.data
@@ -13,8 +13,8 @@ uniform vec4 colDiffuse;
void main()
{
vec4 texelColor = texture2D(texture0, fragTexCoord);
-
+
if (texelColor.a == 0.0) discard;
-
+
gl_FragColor = texelColor*fragColor*colDiffuse;
}