mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2026-10-10 05:03:04 +08:00
fix compile error from resourcepack sky setting
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
uniform sampler2D colortex1;
|
||||
uniform sampler2D colortex2;
|
||||
uniform sampler2D depthtex0;
|
||||
uniform vec2 texelSize;
|
||||
|
||||
|
||||
@@ -14,6 +15,7 @@ float interleaved_gradientNoise(){
|
||||
float noise = fract( 52.9829189 * fract( (coord.x * 0.06711056) + (coord.y * 0.00583715)) );
|
||||
return noise ;
|
||||
}
|
||||
|
||||
//////////////////////////////VOID MAIN//////////////////////////////
|
||||
//////////////////////////////VOID MAIN//////////////////////////////
|
||||
//////////////////////////////VOID MAIN//////////////////////////////
|
||||
@@ -24,7 +26,6 @@ float interleaved_gradientNoise(){
|
||||
/* RENDERTARGETS:1,2 */
|
||||
#endif
|
||||
|
||||
|
||||
void main() {
|
||||
|
||||
vec2 texcoord = gl_FragCoord.xy * texelSize;
|
||||
|
||||
Reference in New Issue
Block a user