Skip to content

Documentation / scene / IMixinBlinnPhong

Type Alias: IMixinBlinnPhong

IMixinBlinnPhong = object & IMixinLight

Defined in: libs/scene/src/material/mixins/lightmodel/blinnphong.ts:16

Interface for blinn-phong lighting model mixin

Type Declaration

shininess

shininess: number

scatterWrap

scatterWrap: number

scatterWidth

scatterWidth: number

scatterColor

scatterColor: Vector4

blinnPhongLight()

blinnPhongLight(scope, worldPos, normal, viewVec, albedo, outRoughness?): PBShaderExp

Parameters

scope

PBInsideFunctionScope

worldPos

PBShaderExp

normal

PBShaderExp

viewVec

PBShaderExp

albedo

PBShaderExp

outRoughness?

PBShaderExp

Returns

PBShaderExp

Released under the MIT License.