Rick Posted May 28, 2011 Share Posted May 28, 2011 TCamera camera = GetLayerCamera(GetFrameworkLayer(0)); CameraClearColor(camera, Vec4(1.0, 0, 0, 1)); I still get a black screen after doing this. I would think I would get a red screen. What am I missing? Quote Link to comment Share on other sites More sharing options...
Canardia Posted May 29, 2011 Share Posted May 29, 2011 By default the camera clear mode is set to clear nothing, so it shows the background world. 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...
Rick Posted May 29, 2011 Author Share Posted May 29, 2011 By default the camera clear mode is set to clear nothing, so it shows the background world. Ah. http://www.leadwerks.com/wiki/index.php?title=CameraClearColor The C++ doesn't seem to do anything with clear mode, but I see the BMax version does. 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.