🔥🔥🔥

This commit is contained in:
Anuken
2020-06-11 12:03:27 -04:00
parent 2a9008f042
commit 732769524c
40 changed files with 4458 additions and 4867 deletions

View File

@@ -1,8 +1,3 @@
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
const float PI = 3.14159265359;
const float MAX = 10000.0;

View File

@@ -1,8 +1,3 @@
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
uniform sampler2D u_texture;
uniform vec4 u_color;

View File

@@ -1,6 +1,3 @@
#ifdef GL_ES
precision mediump float;
#endif
varying vec3 v_texCoords;

View File

@@ -1,7 +1,3 @@
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
uniform sampler2D u_texture;

View File

@@ -1,7 +1,3 @@
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
uniform sampler2D u_texture;
uniform vec4 u_ambient;

View File

@@ -1,7 +1,3 @@
#ifdef GL_ES
precision mediump float;
#endif
varying vec4 v_col;
void main(){

View File

@@ -1,6 +1,3 @@
#ifdef GL_ES
precision mediump float;
#endif
varying vec4 v_col;
varying vec4 v_position;

View File

@@ -0,0 +1,8 @@
uniform sampler2D u_texture;
varying vec2 v_texCoord;
void main(){
gl_FragColor = texture2D(u_texture, v_texCoord);
}

View File

@@ -1,8 +1,3 @@
#ifdef GL_ES
precision highp float;
precision highp int;
#endif
#define MAX_HITS 64
#define HIT_RADIUS 12.0
#define ALPHA 0.18

View File

@@ -1,8 +1,3 @@
#ifdef GL_ES
precision highp float;
precision mediump int;
#endif
//shades of slag
#define S2 vec3(100.0, 93.0, 49.0) / 100.0
#define S1 vec3(100.0, 60.0, 25.0) / 100.0

View File

@@ -1,8 +1,3 @@
#ifdef GL_ES
precision highp float;
precision mediump int;
#endif
#define NSCALE 180.0 / 2.0
uniform sampler2D u_texture;

View File

@@ -1,8 +1,3 @@
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif
#define step 3.0
uniform sampler2D u_texture;

View File

@@ -1,8 +1,3 @@
#ifdef GL_ES
precision highp float;
precision mediump int;
#endif
uniform sampler2D u_texture;
uniform vec2 u_campos;