MarianG Posted December 16, 2017 Share Posted December 16, 2017 Hello my friends. I have a new challenge, and I hope you can help me. Is there a way to pin an object to the floor, and use a environment hdr? I tried with different cameras, with layer, with renderer target texture but witout succes. I don;t know if I can get this in javascript, or I need some work in blender, 3DSMax or unity. Any advice are welcome, I don't know how to deal with it. Here is one of my attempts. PS: I found a demo, it's exactly what I want. Quote Link to comment Share on other sites More sharing options...
brianzinn Posted December 17, 2017 Share Posted December 17, 2017 What about this demo (it's linked from the homepage)?: https://www.smarteam3d.com/portfolio/car_config.html Also, check out the PBR doc (scroll down to "Creating a dds environment file") https://doc.babylonjs.com/how_to/physically_based_rendering Quote Link to comment Share on other sites More sharing options...
MarianG Posted December 17, 2017 Author Share Posted December 17, 2017 2 hours ago, brianzinn said: What about this demo (it's linked from the homepage)?: https://www.smarteam3d.com/portfolio/car_config.html Also, check out the PBR doc (scroll down to "Creating a dds environment file") https://doc.babylonjs.com/how_to/physically_based_rendering I know, I developed it. There is a simple plane on the ground, but if I add an environment, the car with the plane will floating Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted December 17, 2017 Share Posted December 17, 2017 http://www.babylonjs-playground.com/#JUVAGS#2 http://www.babylonjs-playground.com/#JUVAGS#3 without backside you most notice all env map cant be used from this solution http://www.babylonjs-playground.com/#JUVAGS#4 aWeirdo and MarianG 1 1 Quote Link to comment Share on other sites More sharing options...
MarianG Posted December 18, 2017 Author Share Posted December 18, 2017 Hi @NasimiAsl . My brain is floating too Wonderful demos, but could you please explain me a llitle bit more about what it's happening here, what is the logical workflow?I think we can do it more "developer friendly" Please give me some hits, and I'll make a try. Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted December 18, 2017 Share Posted December 18, 2017 1.zoom out my sample and see the env sky mesh 2. make some mesh like that and replace it by sphere ( you can make it by vertex shader 3. find limitation of your camera (zoom and rotation ) and set it enjoy from your material Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted December 18, 2017 Share Posted December 18, 2017 Quote Link to comment Share on other sites More sharing options...
MarianG Posted December 20, 2017 Author Share Posted December 20, 2017 Thank you @NasimiAsl .I'm on it 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.