Class StandardUniforms

Hierarchy

  • StandardUniforms

Constructors

Properties

__class__: "StandardUniforms"
s_ambient: Texture2D<Texture2DEventMap> = Texture2D.default

环境纹理

s_diffuse: Texture2D<Texture2DEventMap> = Texture2D.default

漫反射纹理

s_envMap: TextureCube<TextureCubeEventMap> = TextureCube.default

环境映射贴图

s_normal: Texture2D<Texture2DEventMap> = Texture2D.defaultNormal

法线纹理

s_specular: Texture2D<Texture2DEventMap> = Texture2D.default

镜面反射光泽图

u_PointSize: number = 1

点绘制时点的尺寸

u_alphaThreshold: number = 0

透明阈值,透明度小于该值的像素被片段着色器丢弃

u_ambient: Color4 = ...

环境光颜色

u_diffuse: Color4 = ...

基本颜色

u_fogColor: Color3 = ...

雾的颜色

u_fogDensity: number = 0.1

雾的密度

u_fogMaxDistance: number = 100

最远距离

u_fogMinDistance: number = 0

出现雾效果的最近距离

u_fogMode: FogMode = FogMode.NONE

雾模式

u_glossiness: number = 50

高光系数

u_reflectivity: number = 1

反射率

u_specular: Color3 = ...

镜面反射颜色

Generated using TypeDoc