mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
lin shader fix
This commit is contained in:
parent
4065d97426
commit
058025d2ff
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ float pnoise(vec2 P){
|
|||
vec2 uv = P;
|
||||
uv *= 0.025;
|
||||
uv -= floor(uv);
|
||||
return texture2D(noiseTexture, uv);
|
||||
return texture2D(noiseTexture, uv).x;
|
||||
}
|
||||
|
||||
void main(){
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ float pnoise(vec2 P){
|
|||
vec2 uv = P;
|
||||
uv *= 0.025;
|
||||
uv -= floor(uv);
|
||||
return texture2D(noiseTexture, uv);
|
||||
return texture2D(noiseTexture, uv).x;
|
||||
}
|
||||
|
||||
void main(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue