Hey folks,
I’m using a customized CSS gradient as the canvas background (outside Babylon.js) to minimize GPU overhead for a mobile web app. However, I’ve run into an issue: when using PBR materials with transmission, the background color from CSS isn’t picked up correctly, since it’s not part of Babylon’s rendered scene.
My PG:
I’m looking for the best approach to:
- Keep the low overhead advantage of a CSS gradient background on mobile devices.
- Still allow transmission materials to show the background color properly.
Has anyone found an optimal solution for this?
Many thanks!
Tarnlift