ReflectorPlane

threejs 自带镜面反射类Reflector加上两张贴图实现的镜面反射效果

TIP

闪烁问题可以通过修改每个平面的间距来解决,距离和相机的远近是有关系的 或者可以设置WebGLRenderer 的logarithmicDepthBuffer属性为true

基础用法

API

Attributes

NameDescriptionTypeDefaultRequired
skyColor构造函数参数ColorRepresentationundefinedNo
options实例属性HemisphereLightOptions{}No

Events

NameDescriptionType
load实例创建后触发方法Function

Provide

KeyDescriptionType
hemisphereLightInjectionKeyHemisphereLight实例HemisphereLight

Slots

NameDescription
default默认插槽

源代码

文档