CatStation/Content.Shared/DisplacementMap/DisplacementData.cs
ruddygreat 7c2c66571a
Add support for unshaded displacement maps (#34876)
* first commit. helpful commit messages yay!

* incredibly minor cleanup

* hoping this appeases the trailing whitespace check

* helps if you actually commit the files you change

* bring shader in line w/ what pjb's doing in that other pr

* comments about why this is bad

* this seems to magically work now somehow?

---------

Co-authored-by: Ruddygreat <ruddygreat1@gmail.com>
2026-04-05 21:23:52 +00:00

19 lines
540 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.DisplacementMap;
[DataDefinition, Serializable, NetSerializable]
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 = "DisplacedDraw";
[DataField]
public string ShaderOverrideUnshaded = "DisplacedDrawUnshaded";
}