summaryrefslogtreecommitdiff
path: root/tests/manual/exampleresources/assets/gltf/wine/wine2FS.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/exampleresources/assets/gltf/wine/wine2FS.glsl')
-rw-r--r--tests/manual/exampleresources/assets/gltf/wine/wine2FS.glsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/manual/exampleresources/assets/gltf/wine/wine2FS.glsl b/tests/manual/exampleresources/assets/gltf/wine/wine2FS.glsl
new file mode 100644
index 000000000..b41a6d5fc
--- /dev/null
+++ b/tests/manual/exampleresources/assets/gltf/wine/wine2FS.glsl
@@ -0,0 +1,8 @@
+precision highp float;
+void main(void) {
+vec4 color = vec4(0., 0., 0., 0.);
+vec4 diffuse = vec4(0., 0., 0., 1.);
+color.xyz += diffuse.xyz;
+color = vec4(color.rgb * diffuse.a, diffuse.a);
+gl_FragColor = color;
+}