Dal Posted January 16, 2016 Share Posted January 16, 2016 @Deltakosh I've found a slight annoyance when using renderingGroupId to set the skybox to draw behind everything else... If we set the renderingGroupId = 0 to the sky to force it to the back, then EVERY single other object needs to be set to renderingGroupId > 0 in order to appear in front of the sky. Could we perhaps have renderingGroupId default to 1 if not specified for new objects, to allow us space both behind and in front of the default? Or better yet have the groups renamed to -1,0,1,2 so that it's clear we're setting it to behind the default layer? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 16, 2016 Share Posted January 16, 2016 You can also think about having two scenes with the first one hosting only the sky But I agree with you we may think about having a -1 in rendergroupID Pascal Bayer and Dal 2 Quote Link to comment Share on other sites More sharing options...
Pascal Bayer Posted March 14, 2018 Share Posted March 14, 2018 Are there any news on that topic? I'm facing the same issue using a ground plane and outlines for scene elements that disappear at the bottom by placing them directly on the plane. There is a workaround by manually setting the renderingGroupId for each newly added item. However having the default referring to "1" will allow to explicitly setting elements as background elements, e.g. the ground plane in my case. Also an enum with s.th. like "RENDERGROUP_BACKGROUND", "RENDERGROUP_DEFAULT", ("RENDERGROUP_FOREGROUND" and "RENDERGROUP_TOPMOST") might help for better readability of the code. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 14, 2018 Share Posted March 14, 2018 Hey Pascal! you can also think about having two scenes One for the background and one for all other elements Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.