Jump to content

Handling skyMaterial from the Materials Library


meteoritool
 Share

Recommended Posts

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 ?

Link to comment
Share on other sites

I reuploaded the whole BABYLON.js-master this morning, and it comes down with two errors with the 2.3 version of BABYLON :

on the babylon.skyMaterial.js file :
"babylon.skyMaterial.js:207 Uncaught TypeError: BABYLON.serialize is not a function"

On my own index.js file :
"Uncaught TypeError: BABYLON.SkyMaterial is not a function"

It does somehow work with the actual preview release of BABYLON ! :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...