Set the cube reflection texture on mat (environment reflection sampled along the view-reflection vector). Reads mat.reflectionLevel for intensity. Registers the cube-reflection extension globally (idempotent). Call before the scene is first built.
mat
mat.reflectionLevel
Obtain texture from loadCubeTexture():
texture
loadCubeTexture()
setStandardReflectionCubeTexture(mat, await loadCubeTexture(engine, "/env/sky")); Copy
setStandardReflectionCubeTexture(mat, await loadCubeTexture(engine, "/env/sky"));
Set the cube reflection texture on
mat(environment reflection sampled along the view-reflection vector). Readsmat.reflectionLevelfor intensity. Registers the cube-reflection extension globally (idempotent). Call before the scene is first built.Obtain
texturefromloadCubeTexture():