Skip to content

Documentation / scene / IMixinLambert

Type Alias: IMixinLambert

IMixinLambert = object & IMixinLight

Defined in: libs/scene/src/material/mixins/lightmodel/lambert.ts:12

Interface of lambert lighting model mixin

Type Declaration

lambertLight()

lambertLight(scope, worldPos, normal, albedo): PBShaderExp

Parameters

scope

PBInsideFunctionScope

worldPos

PBShaderExp

normal

PBShaderExp

albedo

PBShaderExp

Returns

PBShaderExp

Released under the MIT License.