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

Why can't I see Shader edits reflected in the program? #90

Closed
Fredrum opened this issue Jun 21, 2022 · 2 comments
Closed

Why can't I see Shader edits reflected in the program? #90

Fredrum opened this issue Jun 21, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Fredrum
Copy link

Fredrum commented Jun 21, 2022

I was trying to make shader edits for the 'spawn' demo but even if I changed the frag shader in both locations I found it, it didn't seem to change how the program ran. Does it get cached out somewhere or what do I need to do? I tried re-building but I don't think that worked either.

@TheLavaBlock replied in a different thread:

Unfortunately, the producer does not currently recognize that a shader has changed. At the first start a cache is created and then always loaded. In the future it would definitely be better to automatically check and regenerate the cache when the program starts if there are changes. You can clean the cache on app start by using Command-Line Arguments: --clean_cache or -cc for short.

It was suggested to start a fresh 'Issue' for this.
For my own needs the above suggestion is perfectly workable.

@TheLavaBlock
Copy link
Member

Thanks for creating the issue 👍
(posted in #39)

Since you are satisfied with the current solution and the suggestion, I will not see this as a bug, but as an improvement.

I was aware of the problem, but postponed it for a later iteration - will soon provide a fix to this so that others do not run into the same problem.

@TheLavaBlock TheLavaBlock added the enhancement New feature or request label Jun 21, 2022
TheLavaBlock added a commit that referenced this issue Jun 28, 2022
@TheLavaBlock
Copy link
Member

It is now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants