shader version shenanigan

This commit is contained in:
minjaesong
2022-02-11 17:59:21 +09:00
parent 5c94e88d76
commit ba3615a8e1
22 changed files with 22 additions and 25 deletions

View File

@@ -36,7 +36,7 @@ class UIHandler(//var UI: UICanvas,
companion object {
private val SHADER_PROG_FRAG = """
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -3,7 +3,7 @@
* http://momentsingraphics.de/BlueNoise.html
*/
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -3,7 +3,7 @@
* http://momentsingraphics.de/BlueNoise.html
*/
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -3,7 +3,7 @@
* http://momentsingraphics.de/BlueNoise.html
*/
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -2,7 +2,7 @@
* Blue Noise texture created by Christoph Peters, released under CC0
* http://momentsingraphics.de/BlueNoise.html
*/
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,8 +1,7 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif
#extension GL_EXT_gpu_shader4 : enable
varying vec4 v_color;

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -1,4 +1,4 @@
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif

View File

@@ -2,11 +2,10 @@
*/
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif
#extension GL_EXT_gpu_shader4 : enable
//layout(origin_upper_left) in vec4 gl_FragCoord; // commented; requires #version 150 or later
// gl_FragCoord is origin to bottom-left

View File

@@ -2,11 +2,10 @@
*/
#version 120
#version 130
#ifdef GL_ES
precision mediump float;
#endif
#extension GL_EXT_gpu_shader4 : enable
varying vec4 v_color;
varying vec2 v_texCoords;