GooderSteel Posted May 17, 2015 Share Posted May 17, 2015 Hello! There was such problem. Created a card with the sky and water. I load it using the following: std:: string mapname = System:: GetProperty ("map", "Maps/my_map_01.map"). I start compilation and at me it is not visible the sky. What do I do not so? Quote Link to comment Share on other sites More sharing options...
CreativeOcclusion Posted May 17, 2015 Share Posted May 17, 2015 Not sure what a card is...You will need a skybox for the sky...you can download a skybox pack in the workshop from here... http://www.leadwerks.com/werkspace/page/viewitem_?fileid=401648279 these are just free textures...serching for skybox in the forum will give you more info... Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted May 18, 2015 Share Posted May 18, 2015 Not sure what a card is... He means a map. Translation error... At least in german map=Karte=card. Hello! There was such problem. Created a card with the sky and water. I load it using the following: std:: string mapname = System:: GetProperty ("map", "Maps/my_map_01.map"). I start compilation and at me it is not visible the sky. What do I do not so? This won't load your map. You need this: http://www.leadwerks.com/werkspace/page/api-reference/_/map/mapload-r510 Quote Link to comment Share on other sites More sharing options...
GooderSteel Posted May 25, 2015 Author Share Posted May 25, 2015 It was possible to solve a problem by line addition: Texture* skybox = Texture::Load("Materials/Sky/skybox_texture.tex"); camera->SetSkybox(skybox); 1 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.