Search the Community
Showing results for tags 'skymaterial'.
-
Hello everyone, I'm using this material and would love to be able to use it as a cubemap with the PBR shaders in the reflectionTexture channel. I have looked what is available with the shader but didn't find a way to get the result. Does anyone knows if that's possible ?
-
Hello everyone, Seems like this playground doesn't work offline http://www.babylonjs-playground.com/#E6OZX#6 , I get this error : BJS - [18:56:31]: Babylon.js engine (v2.5.-beta) launched (index):56 Uncaught TypeError: BABYLON.SkyMaterial is not a constructor Edit: Silly me, the playground uses a material library , the babylon.skyMaterial.js To be locked, sorry for the inconvenience
-
Hey, Coming up to everyone to clarify something about the wonderful skyMaterial from the BABYLON.js Materials Library Trying to set the skyBox mesh to "infiniteDistance = true" won't result in the skyMaterial to follow the skybox mesh's position: http://www.babylonjs-playground.com/#E6OZX#20 Is there a way to set the skyMaterial to infiniteDistance too ?
- 4 replies
-
- infinitedistance
- materialslibrary
-
(and 2 more)
Tagged with:
-
Hello everyone, I hope you had great holidays! I am back at work now and found these new materials very interesting. While implementing the new "sky material", I encountered the following error: File: /dist/babylon.skyMaterial.js this._effect = scene.getEngine().createEffect(shaderName, attribs, ["world", "viewProjection", "vFogInfos", "vFogColor", "pointSize", "vClipPlane", "luminance", "turbidity", "rayleigh", "mieCoefficient", "mieDirectionalG", "sunPosition" ], [], join, fallbacks, this.onCompiled, this.onError); } if (!this._effect.isReady()) { // <=== this._effect is null, therefore error "isReady of null" return false; } this._renderId = scene.getRenderId(); this._wasPreviouslyReady = true;this._effect.isReady() throws an error because this._effect is null. What's the problem here? Thanks Kevin
- 10 replies