Pastaspace Posted June 20, 2013 Share Posted June 20, 2013 Simple question, how do I go about rendering the atmosphere (or just a skybox) in a scene? I can load the terrain, models, and just fine, but no matter what I do the sky is either a black void, or a blue one, and there's no fog. Quote Link to comment Share on other sites More sharing options...
josk Posted June 20, 2013 Share Posted June 20, 2013 As cassius says. Quote Elite Cobra Squad Link to comment Share on other sites More sharing options...
cassius Posted June 20, 2013 Share Posted June 20, 2013 SetSkybox(LoadMaterial("abstract::cloudy.mat")); SetBackgroundColor(Vec4(1.6, 1, 1.3,1); Edit: atmosphere is set in editor as far as I know. 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...
AggrorJorn Posted June 20, 2013 Share Posted June 20, 2013 Here by shadmar. That is for Leadwerks 3. He is using LE 2.5. Quote Link to comment Share on other sites More sharing options...
josk Posted June 20, 2013 Share Posted June 20, 2013 Yeah, sorry. Doing two things at once. Quote Elite Cobra Squad Link to comment Share on other sites More sharing options...
cassius Posted June 20, 2013 Share Posted June 20, 2013 That code is for le2. 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...
Pastaspace Posted June 22, 2013 Author Share Posted June 22, 2013 EDIT: Solved! It was an issue with the camera, fixed now. 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.