cassius Posted January 30, 2018 Share Posted January 30, 2018 When I set fog mode to true in editor the effect does not show up in game.. Is this intended? Using c++. Do I have to code it? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Josh Posted January 30, 2018 Share Posted January 30, 2018 It depends on when and how your camera is created. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
cassius Posted January 31, 2018 Author Share Posted January 31, 2018 camera is created in code. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Roland Posted January 31, 2018 Share Posted January 31, 2018 auto cam = Camera::Create(); cam->SetFOV(60.0f); cam->SetZoom(1); cam->SetRange(0.1f, 500.0f); cam->SetFogColor(0.7f, 0.7f, 0.7f, 1.0f); cam->SetFogAngle(5.0f, 20.0f); cam->SetFogMode(true); cam->SetFogRange(2.0f, 30.0f); Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
cassius Posted January 31, 2018 Author Share Posted January 31, 2018 Thanks Roland You have made an old man happy.... ( in the fog) 1 Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ 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.