Fix displacement map rendering in UI (#38042)
Fix displacement map rendering
918709cb47 changed the way humans work to completely remove the stencil mask thing for clothing cutouts, in favor of displacement maps. Except it didn't actually remove the stencil parameters from the shader prototype, so this caused the shader to render incorrectly in SpriteView instances.
I introduced a new DisplacedDraw shader that doesn't have the stencil in use, as removing the old one would probably be a more annoying breaking change.
Fixes #37629
This commit is contained in:
committed by
GitHub
parent
9529cdfa2e
commit
f5071238ce
@@ -10,5 +10,5 @@ public sealed partial class DisplacementData
|
||||
public Dictionary<int, PrototypeLayerData> SizeMaps = new();
|
||||
|
||||
[DataField]
|
||||
public string? ShaderOverride = "DisplacedStencilDraw";
|
||||
public string? ShaderOverride = "DisplacedDraw";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user