vikk Posted March 20, 2017 Share Posted March 20, 2017 sir i develope a demo project its mesh created by 3d designer and its texture . i want to apply reflaction or refraction but i couldn't apply on it ,any type of reflaction which is given in your documentation. so pls help me Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 20, 2017 Share Posted March 20, 2017 Hello and welcome, can you create a PG (http://www.babylonjs-playground.com) so we can help you? Here is an example with live reflection: http://www.babylonjs-playground.com/#28G6UT#0 The basic idea would be to load your scene, and then find the material you want and set the reflectionTexture/refractionTexture vikk 1 Quote Link to comment Share on other sites More sharing options...
vikk Posted March 21, 2017 Author Share Posted March 21, 2017 http://www.babylonjs-playground.com/#1WMVVY#0 when we apply on reflaction texture it not support . basically my question is when we create mesh through 3d max it support reflaction or refraction . or we can made texture which is support reflaction or refraction Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 22, 2017 Share Posted March 22, 2017 Hello you are not using a reflection texture in this PG? I only see an emissive one. You have to use the material.reflectionTexture for that (See the PG I linked in my previous post) 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.