Leprosy 0 Posted August 4, 2017 Report Share Posted August 4, 2017 I have a cube with a simple texture...how can the textures in the faces have the same rotation? For example, the front face is rendered ok(lines are vertical), but the sides are rotated(lines are horizontal), I want them all with the lines vertical, like the original texture. http://www.babylonjs-playground.com/#LS6QNX Thanks! Quote Link to post Share on other sites
Temechon 677 Posted August 4, 2017 Report Share Posted August 4, 2017 Hi, You have to use a custom shader to do that. Example here: http://www.babylonjs-playground.com/#TRNYD#13 Leprosy 1 Quote Link to post Share on other sites
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.