Newlines
This commit is contained in:
@@ -115,4 +115,4 @@ void main(){
|
||||
vec3 result = inScatter(eye, dir, e, l);
|
||||
|
||||
gl_FragColor = vec4(result, 1.0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,4 +10,4 @@ void main(){
|
||||
v_position = a_position;
|
||||
v_model = u_model;
|
||||
gl_Position = u_projection*u_model*a_position;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,4 +5,4 @@ uniform samplerCube u_cubemap;
|
||||
|
||||
void main(){
|
||||
gl_FragColor = textureCube(u_cubemap, v_texCoords);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,4 +29,4 @@ void main(){
|
||||
}
|
||||
|
||||
gl_FragColor = color;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,4 +24,4 @@ void main(){
|
||||
}
|
||||
|
||||
gl_FragColor = color;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,4 +34,4 @@ void main(){
|
||||
}
|
||||
|
||||
gl_FragColor = vec4(color.rgb, 1.0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user