mix
for two samplerCube
works.
Used .onBeforeCompile
on the material of scene’s background:
Demo: https://codepen.io/prisoner849/full/jORXEaQ
I don’t know how correct this approach is. I simply dug into WebGLRenderer
’s source code
mix
for two samplerCube
works.
Used .onBeforeCompile
on the material of scene’s background:
Demo: https://codepen.io/prisoner849/full/jORXEaQ
I don’t know how correct this approach is. I simply dug into WebGLRenderer
’s source code