lordTouch Posted November 6, 2018 Share Posted November 6, 2018 https://www.babylonjs-playground.com/#1ST43U#80 I'm rotating the mesh, but I'm also seeing that it's not rotating the texture so the model looks the same despite the different rotations. What can I do so that my globe has seasonal variation ? ? Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted November 6, 2018 Share Posted November 6, 2018 hi @lordTouch i see what you wanna do so you use reflectTexture tht calculate from camera position i recommend you use from this if you don't wanna have light https://www.babylonjs-playground.com/#1ST43U#81 trevordev 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted November 6, 2018 Share Posted November 6, 2018 Not sure to understand what you try to achieve ... You're using the static MeshBuilder.CreateSphere() function with the parameters of the Mesh.CreateBox() function. Quote Link to comment Share on other sites More sharing options...
trevordev Posted November 6, 2018 Share Posted November 6, 2018 @lordTouch You are using a reflectionTexture which will act like an environment so no matter how the sphere is rotated the environment still displays on the sphere the same way. Using diffuseTexture instead like NasimiAsl shared should work. GameMonetize and NasimiAsl 2 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.