mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 05:19:13 +00:00
okay tweak stuff
This commit is contained in:
@@ -13,10 +13,10 @@ using namespace metal;
|
|||||||
float2 uv = pos/size;
|
float2 uv = pos/size;
|
||||||
|
|
||||||
// scanwave
|
// scanwave
|
||||||
half3 newCol = 0.75 + 0.5 + 0.5 * sin(time + uv.y*10);
|
half3 newCol = 0.75 + 0.5 + 0.5 * sin(time*0.5 + uv.y*10);
|
||||||
|
|
||||||
//scanlines
|
//scanlines
|
||||||
newCol *= 0.5 + 0.5 * sin(uv.y * 1000.0);
|
newCol *= 0.5 + 0.5 * sin(uv.y * 1250.0);
|
||||||
half4 output = half4(color.xyz*newCol, 1);
|
half4 output = half4(color.xyz*newCol, 1);
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user