mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-27 02:32:39 +08:00
temporary fix for particles breaking (resourcepack sky related)
This commit is contained in:
@ -20,7 +20,9 @@ float interleaved_gradientNoise(){
|
|||||||
//////////////////////////////VOID MAIN//////////////////////////////
|
//////////////////////////////VOID MAIN//////////////////////////////
|
||||||
//////////////////////////////VOID MAIN//////////////////////////////
|
//////////////////////////////VOID MAIN//////////////////////////////
|
||||||
|
|
||||||
|
#if RESOURCEPACK_SKY != 0
|
||||||
/* RENDERTARGETS:1,2 */
|
/* RENDERTARGETS:1,2 */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
@ -48,7 +48,7 @@ void main() {
|
|||||||
vec3 NEWCOLOR = COLOR.rgb;
|
vec3 NEWCOLOR = COLOR.rgb;
|
||||||
|
|
||||||
if(isSun) NEWCOLOR.rgb = COLOR.rgb * 10.0;
|
if(isSun) NEWCOLOR.rgb = COLOR.rgb * 10.0;
|
||||||
if(isMoon) NEWCOLOR.rgb = COLOR.rgb * 10.0;
|
if(isMoon) NEWCOLOR.rgb = COLOR.rgb * 5.0;
|
||||||
if(isSkyBox) NEWCOLOR.rgb = COLOR.rgb * 2.0;
|
if(isSkyBox) NEWCOLOR.rgb = COLOR.rgb * 2.0;
|
||||||
|
|
||||||
NEWCOLOR.rgb = toLinear(NEWCOLOR.rgb);
|
NEWCOLOR.rgb = toLinear(NEWCOLOR.rgb);
|
||||||
|
Reference in New Issue
Block a user