GetAssetPack

Diffuse + Ambient Lighting

Type
Shaders & VFX
Creator
bricksphd

A shader program that renders an object with simple diffuse and ambient lighting. This shader program builds on our previous shader, https://shaderfrog.com/app/view/3152. Since a purely diffuse shader program does not handle ambient lighting, one way is to add an ambient bias to the fragment shader. This adds additional bias to the render, but can make the result more visually appealing. Note that large amounts of ambient lighting are almost universally visually distracting. Created for Computer Graphics 4620, a course offered at the University of Nebraska at Omaha. @bricksphd

Available on

Search by image

Upload a reference to find previews with similar colors, contrast, and detail.

Diffuse + Ambient Lighting

No preview
bricksphd · ShaderFrog
Shaders & VFX
License not indexed
  • i Check the terms on the original listing.
Show full terms

A shader program that renders an object with simple diffuse and ambient lighting. This shader program builds on our previous shader, https://shaderfrog.com/app/view/3152. Since a purely diffuse shader program does not handle ambient lighting, one way is to add an ambient bias to the fragment shader. This adds additional bias to the render, but can make the result more visually appealing. Note that large amounts of ambient lighting are almost universally visually distracting. Created for Computer Graphics 4620, a course offered at the University of Nebraska at Omaha. @bricksphd

View original listing

Tags

glslthree.js