MackeyK24 Posted October 19, 2017 Share Posted October 19, 2017 Yo @Deltakosh What is the scene.environmentTexture used for... It seems to have something to do the either the skybox texture or the reflection probe texture... if I am dumping the the skybox texture on a box surrounding the scene and I am using the skyboxes reflection probe texture as the material.reflectionTexture What do I need the scene.environmentTexture for and what should it be the skybox (which is HIGH res six-sided CubeTexture or the LOW res reflection probe texture which can be a six-sided but can also be a HDR or DDS Cube Texture) I am trying to make the base Lighting and environment functionality for the toolkit... if that scene.enviromentTexture is something I SHOULD be setting (especially since I have the skybox and reflection probe texture handy... I might as well set the scene.enviromentTexture as well... if that is what I SHOULD be doing) Quote Link to comment Share on other sites More sharing options...
mr_pinc Posted October 19, 2017 Share Posted October 19, 2017 It's a property to see for all materials. So you load that 1 texture set it on the scene and all meshes in the scene will have that texture applied for their environment or reflection textures. Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted October 19, 2017 Author Share Posted October 19, 2017 So then if I set the scene environment texture then I DONT have to set each individual material.reflectionTexture...thats Kool... and I guess I would not use scene.enviroment texture and use at the reflection level if I ever want a material to NOT have the scene.enviromentTexture... Maybe I keep using material.reflectionTexture and default that on BUT you can have the option to turn OFF the scene reflection on specified materials... GOOD TO KNOW... Thanks for the info 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.