Facepunch / sbox-issues

175 stars 12 forks source link

[Shadergraph] Shader Preview Render Backface Toggle #3923

Closed Jammie3d closed 1 year ago

Jammie3d commented 1 year ago

For?

S&Box

What can't you do?

When working on shaders in the shadergraph I can't easily see how things will look with render backfaces enabled.

I'm currently working on a fireball effect which is intended to be 2 sided, but I currently have to go back and forth between the shadergraph and material editor previews to check my changes.

How would you like it to work?

Add a toggle either in the Preview window settings, or the shader properties next to the Blend Mode dropdown. image

What have you tried?

Having the material editor open with render backfaces enabled, and checking that.

Additional context

If we ever have an "Is Front Face" node it would be vital for previewing the effects of that.

aylaylay commented 1 year ago

Added render option

Jammie3d commented 1 year ago

Perfect, thank you very much!