Hi there
After a LONG time, I managed to almost get the desired result (glow from emissive, a transparent background etc.). (I am using the wrapper lib react-babylonjs btw by @brianzinn).
Everything works smoothly (other than the props in the ` component not being “reactive” on initial load so I am forced to reset the, btw).
I added a environment texture in order for the reflective/metallic texture to behave as expected.
Problem is that it now has a background box and the background is not transparent anymore.
Here’'s an example of what I mean:
here’s the settings I used:
const scene = useScene();
useEffect(() => {
var environmentTexture = new HDRCubeTexture(
'./../game/environment/gym_entrance_1k.hdr',
scene,
1024,
true,
false,
false,
false,
);
scene.createDefaultEnvironment({
environmentTexture,
});
}, []);
Ideally I need the visible cubemap to go away while retaining the reflectiveness/specularity…