0
Corrigé

Manually created shaders causes the Inspector extension to throw a warning

colin il y a 11 ans mis à jour par Freya Holmér (Developer) il y a 11 ans 1

Here's a good one:


Once ShaderForge is installed, selecting manually created shaders causes the ShaderForge Inspector extension to try and compile that shader, then throw a warning. Considering that it has a button linking to "Replace with Shader Forge shader" -- this seems dangerous -- maybe there could be a change to the interface.


  • Rather than a warning, the inspector notes that the shader is "not a ShaderForge shader".
  • The inspector then presents an option to open ShaderForge and replace it - with a popup warning about the destructive editing the user is about to do.
  • Maybe stay away from the iconography of warnings for shaders which aren't built in ShaderForge -- reserve it for misconstructed ShaderForge shaders.

Solution

Solution
Corrigé

I've removed the warning that is thrown into the console, the rest remains the same for now :)

It is dangerous, which is why there is a warning icon :)

There is a popup already when you click that button to confirm clearing the entire shader etc.

Solution
Corrigé

I've removed the warning that is thrown into the console, the rest remains the same for now :)