burst2flame
Topic Author
Posts: 30
Joined: 11 Mar 2024, 18:04

Good Editor for Shader Effects and how to reload

06 Sep 2024, 23:59

Hi! I'm trying to write Shader Effects in Unity. It does work, but I have no autocomplete for errors. Also it seems that even when I change the shader code in the ".noesiseffect" file, it doesn't reload the shader. The only thing I have found that works is closing unity. Thanks for the help!
 
User avatar
jsantos
Site Admin
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: Good Editor for Shader Effects and how to reload

09 Sep 2024, 17:32

Hi! Files with the .noesiseffect extension are in standard HLSL format, so any editor that supports HLSL (like this extension for Visual Studio Code) should work for autocompletion and error highlighting.

As for the issue with shader reloading, hot-reloading for these files is not yet implemented, so you will need to manually reload the domain (for example, by hitting Play in Unity). Could you please create a ticket for this issue so we can track it?
 
burst2flame
Topic Author
Posts: 30
Joined: 11 Mar 2024, 18:04

Re: Good Editor for Shader Effects and how to reload

09 Sep 2024, 21:05

I have that extension but it can't find "EffectHelpers.h" and highlights other problems that aren't actually problems:

Screenshot 2024-09-09 120415.png
 
User avatar
jsantos
Site Admin
Posts: 4124
Joined: 20 Jan 2012, 17:18
Contact:

Re: Good Editor for Shader Effects and how to reload

10 Sep 2024, 14:44

You'll need to add the following folder to your includes path:

$NOESIS_PACKAGE_LOCATION/Shaders/Include

Who is online

Users browsing this forum: Bing [Bot] and 2 guests