Add ability to add shader constants to gui + particlefx (DEF-3065) #3455
Labels
engine
Issues related to the Defold engine
gui
Issues related to gui components
particlefx
Issues related to particle fx
task
A task that needs to be performed
It's currently not possible to set the gui or particlefx shader constants.
The issue is also complicated by the fact that we have a "go.set()" but no "gui.set()" functionality since it implies we can address sub components (i.e. the gui nodes). A gui scene also contains other nodes, such as particle effects, and fonts.
A fast way our might be to add gui.set_constant() which might check if the node is a particlefx node or not, and apply the material property accordingly
Forum:
(LINK REMOVED)
The text was updated successfully, but these errors were encountered: