forked from sin365/AxibugEmuOnline
颜色预览shader修改
This commit is contained in:
parent
2c36f91725
commit
56f2953a99
@ -165,8 +165,8 @@
|
||||
float waveCol2 = waveColor(uv, waveHeight2, maxHeight2, frequency2, power2);
|
||||
|
||||
float3 col = bg;
|
||||
col = lerp(col, waveCol1 * col, step(uv.y, waveHeight1));
|
||||
col = lerp(col, waveCol2 * col, step(uv.y, waveHeight2));
|
||||
col = lerp(col, col/waveCol1, step(uv.y, waveHeight1));
|
||||
col = lerp(col, col/waveCol2, step(uv.y, waveHeight2));
|
||||
|
||||
// Output to screen
|
||||
fixed4 fragColor = float4(col,1.0);
|
||||
|
Loading…
Reference in New Issue
Block a user