antimatter15 / splat

WebGL 3D Gaussian Splat Viewer

Home Page:https://antimatter15.com/splat/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change backgroud color?

Promethe-us opened this issue · comments

commented

Thanks for your amazing work! It really helps me, I want to know how to change the background color from black to white? Could you help me?

I’ve looked into this and Im not sure its possible with the way the splats work. Any shadows in the scene aren’t black, but rather alpha and they show the background through. So changing the background color will change the color of shadows in the scene.
Perhaps there is a way but it would require adjusting how the splats themselves are rendered.

commented

Thanks for your reply, I have found. Change 'index.html' s background: black, to background: white, will work.