This commit is contained in:
summetdev
2020-10-27 21:36:02 +03:00
parent a4f54a890a
commit a78faa57f3
37 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -115,4 +115,4 @@ void main(){
vec3 result = inScatter(eye, dir, e, l);
gl_FragColor = vec4(result, 1.0);
}
+1 -1
View File
@@ -10,4 +10,4 @@ void main(){
v_position = a_position;
v_model = u_model;
gl_Position = u_projection*u_model*a_position;
}
+1 -1
View File
@@ -5,4 +5,4 @@ uniform samplerCube u_cubemap;
void main(){
gl_FragColor = textureCube(u_cubemap, v_texCoords);
}
+1 -1
View File
@@ -9,4 +9,4 @@ const float SCALE = 50.0;
void main(){
v_texCoords = a_position;
gl_Position = u_proj * vec4(a_position * SCALE, 1.0);
}
+1 -1
View File
@@ -6,4 +6,4 @@ uniform sampler2D u_texture;
void main(){
vec4 c = texture2D(u_texture, v_texCoords);
gl_FragColor = v_color * mix(c, vec4(v_mix_color.rgb, c.a), v_mix_color.a);
}
+1 -1
View File
@@ -29,4 +29,4 @@ void main(){
}
gl_FragColor = color;
}
+1 -1
View File
@@ -20,4 +20,4 @@ void main(){
color.rgb = texture2D(u_stars, coords/NSCALE + vec2(-0.1, -0.1) + u_ccampos / CAMSCALE).rgb;
gl_FragColor = color;
}
+1 -1
View File
@@ -24,4 +24,4 @@ void main(){
}
gl_FragColor = color;
}
+1 -1
View File
@@ -34,4 +34,4 @@ void main(){
}
gl_FragColor = vec4(color.rgb, 1.0);
}