beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

LambertMaterial_v2 Op

Ops.Gl.Phong.LambertMaterial_v2


LambertMaterial

a simple shaded material


This is a simple material to be used with lights.

This material model does not have any specular reflections, it only calculates diffuse lighting.



Inputs

Execute (Trigger)

Trigger input

Diffuse Color

Diffuse R (Number)

R component of the diffuse color

Diffuse G (Number)

G component of the diffuse color

Diffuse B (Number)

B component of the diffuse color

Diffuse A (Number)

Alpha channel of the diffuse color

Texture

Diffuse Texture (Object)

Texture input

Colorize Texture (boolean /Number)

check to colorize texture with diffuse color

Outputs

next (Trigger)

Trigger output

Shader (Object)

Shader output to be used with i.e. GLTF models

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

LambertMaterial example

Open Example In Editor


Patches using LambertMaterial_v2

Changelog


Ops.User.cables.LambertMaterial_v2 renamed to Ops.Gl.Phong.LambertMaterial_v2
2020-03-06 - simod