Fix widgets
This commit is contained in:
committed by
Jérôme Leclercq
parent
292ca60592
commit
5567a39a65
@@ -80,7 +80,7 @@ fn main(input: FragIn) -> FragOut
|
||||
let color = settings.BaseColor;
|
||||
|
||||
const if (HasUV)
|
||||
color *= TextureOverlay.Sample(input.uv).rrra;
|
||||
color *= TextureOverlay.Sample(input.uv).rrrg;
|
||||
|
||||
const if (HasColor)
|
||||
color *= input.color;
|
||||
|
||||
@@ -129,7 +129,7 @@ fn main(input: VertToFrag) -> FragOut
|
||||
let color = settings.BaseColor;
|
||||
|
||||
const if (HasUV)
|
||||
color *= TextureOverlay.Sample(input.uv).rrra;
|
||||
color *= TextureOverlay.Sample(input.uv).rrrg;
|
||||
|
||||
const if (HasColor)
|
||||
color *= input.color;
|
||||
|
||||
@@ -115,7 +115,7 @@ fn main(input: VertToFrag) -> FragOut
|
||||
let color = settings.BaseColor;
|
||||
|
||||
const if (HasUV)
|
||||
color *= TextureOverlay.Sample(input.uv).rrra;
|
||||
color *= TextureOverlay.Sample(input.uv).rrrg;
|
||||
|
||||
const if (HasColor)
|
||||
color *= input.color;
|
||||
|
||||
Reference in New Issue
Block a user