WickedEngine icon indicating copy to clipboard operation
WickedEngine copied to clipboard

[Feature] allow individual renderpaths to enable wireframe, and other currently global renderer settings.

Open AnthonyPython opened this issue 2 years ago • 2 comments

scr0 As you can see when trying to enable wireframe on multiple setting to true and false before and after render/update only affects the last one. It would nice to allow other renderer global ones also be-able to be enabled/ disabled for example global Illumination in a single renderpath. there is probably a few others I had not looked at but it would be nice to allow.

AnthonyPython avatar Sep 26 '23 22:09 AnthonyPython

What exactly happens if you enable wire rendering for the other renderpath views? As far as I see, checking if wire rendering is active only happens in drawing functions like DrawScene() so it should work as an immediate turn on/off setting.

Can you debug into what happens when an other renderpath view is rendering that is not the last if it enters into here: https://github.com/turanszkij/WickedEngine/blob/master/WickedEngine/wiRenderer.cpp#L2725

turanszkij avatar Sep 27 '23 04:09 turanszkij

will do so, it is rather odd behavior as you say.

AnthonyPython avatar Oct 01 '23 04:10 AnthonyPython