Canardia Posted February 26, 2010 Share Posted February 26, 2010 When using 3D OpenGL commands with LE, it works fine as long no post-processing effects are used. When post-processing effects are used, then the occlusion culling breaks in the 3D OpenGL commands, and they all draw in front of all other objects. To fix this problem, there should be an optional parameter to RenderFramework(), which tells it to render only geometry and lights, or only post-processing effects: RenderFramework(1); // 3D OpenGL commands go here RenderFramework(2); The default parameter would be 0, and do the same what RenderFramework() without parameters does now: it renders the geometry and lights, and then the post-processing effects. With this finer granularity control, we can now place 3D OpenGL commands between RenderFramework(1); and RenderFramework(2); and they will be rendered correctly. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Masterxilo Posted February 26, 2010 Share Posted February 26, 2010 That would be a good solution. Quote Hurricane-Eye Entertainment - Site, blog. 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.