Displacement maps big update (#30093)
* split logic into own system * add support for different size displacement maps * some clothes may not use displacement maps * displacement maps spport hand sprites * Update DisplacementMapSystem.cs * rename things * fuck stencilmask * fix bugs * no masks * Update jumpsuits.yml * fix species specific sprites * Update ClothingSystem.cs * shoes + ears displacement, some bugfix * Update DisplacementMapSystem.cs
This commit is contained in:
14
Content.Shared/DisplacementMap/DisplacementData.cs
Normal file
14
Content.Shared/DisplacementMap/DisplacementData.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Content.Shared.DisplacementMap;
|
||||
|
||||
[DataDefinition]
|
||||
public sealed partial class DisplacementData
|
||||
{
|
||||
/// <summary>
|
||||
/// allows you to attach different maps for layers of different sizes.
|
||||
/// </summary>
|
||||
[DataField(required: true)]
|
||||
public Dictionary<int, PrototypeLayerData> SizeMaps = new();
|
||||
|
||||
[DataField]
|
||||
public string? ShaderOverride = "DisplacedStencilDraw";
|
||||
}
|
||||
Reference in New Issue
Block a user