WebGL IOR

226 阅读1分钟

Demo1

Three Doc的解释

  • .refractionRatio : Float
  • The index of refraction (IOR) of air (approximately 1) divided by the index of refraction of the material. It is used with environment mapping modes THREE.CubeRefractionMapping and THREE.EquirectangularRefractionMapping. The refraction ratio should not exceed 1. Default is 0.98.