VictorF Posted November 27, 2018 Share Posted November 27, 2018 I've made this simple example: https://www.babylonjs-playground.com/#UU7RQ#233 Where I expected that the cube becomes "invisible" since it uses as refraction the reflection texture of the cubemap and IOR 1.0. Unfortunatly it is mirrored in the vertical axis. Any idea on this? Thank you! Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 27, 2018 Share Posted November 27, 2018 With static pictures we need to not invert the texture read during refraction: shapeMaterial.invertRefractionY = false; The default setup is meant to be use with Probes: https://www.babylonjs-playground.com/#UU7RQ#236 Quote Link to comment Share on other sites More sharing options...
VictorF Posted November 27, 2018 Author Share Posted November 27, 2018 Thank you so much!!! 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.