fojik Posted July 8, 2015 Share Posted July 8, 2015 skybox does not work http://www.babylonjs.com/tutorials/blogs/customShaders/customShaders.html [.WebGLRenderingContext-071415C8]GL ERROR :GL_OUT_OF_MEMORY : glCopyTexImage2D: three/:1 [.WebGLRenderingContext-071415C8]GL ERROR :GL_INVALID_OPERATION : glGenerateMipmap: Can not generate mipsthree/:1 [.WebGLRenderingContext-071415C8]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.three/:1 [.WebGLRenderingContext-071415C8]RENDER WARNING: there is no texture bound to the unit 1var skybox = BABYLON.Mesh.CreateBox("skyBox", 1000.0, scene);var skyboxMaterial = new BABYLON.StandardMaterial("skyBox", scene);skyboxMaterial.backFaceCulling = false;skyboxMaterial.reflectionTexture = new BABYLON.CubeTexture("assets/sky/TropicalSunnyDay", scene);skyboxMaterial.reflectionTexture.coordinatesMode = BABYLON.Texture.SKYBOX_MODE;skyboxMaterial.diffuseColor = new BABYLON.Color3(0, 0, 0);skyboxMaterial.specularColor = new BABYLON.Color3(0, 0, 0);skybox.material = skyboxMaterial; Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 8, 2015 Share Posted July 8, 2015 Hello:) That works for me on 3 differents devices (tested on CHrome firefox and edge) Quote Link to comment Share on other sites More sharing options...
jerome Posted July 8, 2015 Share Posted July 8, 2015 works well hereAre your 6 image files ok here : assets/sky/TropicalSunnyDay ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 8, 2015 Share Posted July 8, 2015 And I'm not sure you are giving us the right console YOur version mentions "three" and here we are more about babylon Quote Link to comment Share on other sites More sharing options...
fojik Posted July 8, 2015 Author Share Posted July 8, 2015 Chrome 43.0.2357.132 mImages okBJS - [20:49:45]: Babylon.js engine (v2.1.0) launched Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 8, 2015 Share Posted July 8, 2015 So no problem? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 8, 2015 Share Posted July 8, 2015 Could you give us less information please? That's easier to help you jerome 1 Quote Link to comment Share on other sites More sharing options...
fojik Posted July 8, 2015 Author Share Posted July 8, 2015 The problem is, the black sky =( Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 8, 2015 Share Posted July 8, 2015 Are you running on Windows? Linux? Mac? No error in the console? Drivers up to date? Quote Link to comment Share on other sites More sharing options...
fojik Posted July 8, 2015 Author Share Posted July 8, 2015 Windows 7 64no errorsGTS - 250 driver version 340.52 (last) Quote Link to comment Share on other sites More sharing options...
fojik Posted July 8, 2015 Author Share Posted July 8, 2015 In firefox everything works fine: \ Quote Link to comment Share on other sites More sharing options...
adam Posted July 8, 2015 Share Posted July 8, 2015 Try clearing your browser cache. Quote Link to comment Share on other sites More sharing options...
adam Posted July 8, 2015 Share Posted July 8, 2015 Are you trying to load this locally without using a web server? Edit: My bad. I just saw you linked to the page. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted July 8, 2015 Share Posted July 8, 2015 This works for me too. I imagine a graphics card problem for your problem. 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.