UPBGE: Planar reflections/refractions tutorial



Notes:
– There is a python API for planar reflections/refractions which is very similar to KX_CubeMap API. (warning: with 0.1.5 there is a common base for cubemaps and planar reflections/refractions API. See upbge API)
– The UI is also very similar to cubemaps UI.
– In the tuto about cubemaps, I showed UI and API: https://www.youtube.com/watch?v=A2xZYQxBY1A
– Planar reflections/refractions doesn’t work correctly in orthographic view.
– Depth transparency for transition beetween water and ground is nice.
– Texture sizes for reflections and refractions have a big performance impact. The resolutions I chossed are too high.

Big thanks to Martins Upitis for his contribution 🙂

Source

KA2Studio
Logo
Compare items
  • Total (0)
Compare
0