Skip to content

[FEATURE] Marking Shaders#2

Open
mqole wants to merge 5 commits intosyndicate-ss14:masterfrom
mqole:marking-shaders
Open

[FEATURE] Marking Shaders#2
mqole wants to merge 5 commits intosyndicate-ss14:masterfrom
mqole:marking-shaders

Conversation

@mqole
Copy link
Contributor

@mqole mqole commented Mar 15, 2026

About the PR

Added shader support for character customizable markings.

Ideologically a port of github.com/impstation/imp-station-14/pull/842 by widgetbeck, but because of nubody all the code had to be rewritten. So its all original. Beck is fine w the relicense even if it wasnt

Opportunity to rewrite this also meant I got to make it possible to apply multiple shaders to a single marking, which aint in the imp implementation. See media for an example yaml.

ALSO- set debug random characters to false because i got pissed off testing this not being able to do markings but i can change that back if people want

Why / Balance

Prerequisite for a LOT of bullshit

Technical details

MarkingPrototype now has an additional 'shaders' datafield, which takes a dictionary of two strings: state, and shader name.
If this field is undefined, markings will use the default shader.

Shaders are modified in ApplyMarkings. Unfortunately shader layer methods arent in the system, so we had to grab SpriteComponent. This isnt ideal but I'm not fucking with robust toolbox. In a beautiful world shaders would be attached to sprites directly anyway

Media

image

Requirements

  • I have read and am following the Macrocosm Pull Request Conventions .
  • I have added media to this PR or it does not require an in-game showcase.

Breaking changes

Markings now support shaders on individual sprite layers. Please see the associated PR for an example on how to implement this.

mqole and others added 4 commits March 15, 2026 14:17
@mqole
Copy link
Contributor Author

mqole commented Mar 15, 2026

legit test fail but i cant fully parse the error message. will look into it

@mqole mqole added the Licensed All code in this PR is licensed under MIT with permission obtained from all authors. label Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Licensed All code in this PR is licensed under MIT with permission obtained from all authors. S: Needs Review size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant