Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to add shader constants to gui + particlefx (DEF-3065) #3455

Open
britzl opened this issue May 23, 2019 · 0 comments
Open

Add ability to add shader constants to gui + particlefx (DEF-3065) #3455

britzl opened this issue May 23, 2019 · 0 comments
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

Comments

@britzl
Copy link
Contributor

britzl commented May 23, 2019

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)

@britzl britzl added bug Something is not working as expected engine Issues related to the Defold engine task A task that needs to be performed and removed bug Something is not working as expected task A task that needs to be performed labels May 23, 2019
@britzl britzl added gui Issues related to gui components particlefx Issues related to particle fx labels Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant