WIP
This commit is contained in:
committed by
Jérôme Leclercq
parent
b379518479
commit
292ca60592
@@ -80,7 +80,7 @@ fn main(input: FragIn) -> FragOut
|
||||
let color = settings.BaseColor;
|
||||
|
||||
const if (HasUV)
|
||||
color *= TextureOverlay.Sample(input.uv);
|
||||
color *= TextureOverlay.Sample(input.uv).rrra;
|
||||
|
||||
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);
|
||||
color *= TextureOverlay.Sample(input.uv).rrra;
|
||||
|
||||
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);
|
||||
color *= TextureOverlay.Sample(input.uv).rrra;
|
||||
|
||||
const if (HasColor)
|
||||
color *= input.color;
|
||||
|
||||
Reference in New Issue
Block a user