UPBGE: Planar reflections/refractions tutorial



Please read the Notes:
– There is a python API for planar reflections/refractions which is very similar to KX_CubeMap 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 (The API changed a bit as Planar reflections/refractions have a common base API now). See upbge API.
– 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 chosen are too high.

Big thanks to Martins Upitis for his contribution 🙂

Source

KA2Studio
Logo
Compare items
  • Total (0)
Compare
0