[QUESTION] Shader hooks?

So shaders exist that make changes based on the amount of RU left in an asteroid and the state of the ship’s movement, are there any other ship properties or states exposed to shader access, and is there any significant performance price to using them?

1 Like

If you ever want to know what goes into a specific visual - check the .surf file for that material. Every input that can come from outside (except globals) is there. After that, check the globals :wink:

There’s nothing going out that isn’t being used right now - so you should be able to see and experiment with it all.

1 Like

Dumb question - where/what are the globals? Edit: Ah, named_globals.manifest? Edit Edit: and the other ones named globals… knew it was a dumb question. :smiley: