I’ve noticed that VisualEffectAssets save Shader and ComputeShader assets as children assets, but I’m not sure where the actual Shader code lives. Browsing through the content of the VisualEffectAsset file, I am not seeing anything that looks like shader code. Does anyone have any tips for where to find this? I can see that you can use the Inspector to look at a generated copy of the code, but that is not quite what I am looking for.
The shader lives in your libraries folder so something like %ProjectRoot%/Library/ShaderCache/shader/ and then whatever the name of your vfx is should be the folder name. Alternatively, you can go into Preferences and enable Experimental shader externalization
under Visual Effects and then go to the .vfx asset and select Externalize and it’ll save a .shader file in a folder where that .vfx asset lives.
1 Like
Thank you! Super helpful