User Tools

Site Tools


02_user_tutorials:04_light_modelling:light-modeling-light-shader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
02_user_tutorials:04_light_modelling:light-modeling-light-shader [2025/01/24 15:51] – ↷ Page moved from 02_user_tutorials:light_modelling:light-modeling-light-shader to 02_user_tutorials:04_light_modelling:light-modeling-light-shader tim202_user_tutorials:04_light_modelling:light-modeling-light-shader [2025/05/30 17:23] (current) sophiewachtel
Line 18: Line 18:
 ==== Lambert Shader ==== ==== Lambert Shader ====
  
-Lambertian reflection (Lambert 1760) is a widely used reflection model for diffuse reflection. The Lambert reflection model assumes an ideal diffusely reflecting surface, where the apparent brightness to an observer is the same regardless of the observer's angle of viewin this way it the reflected radiant intensity obeys Lambert's cosine law.+Lambertian reflection (Lambert1760) is a widely used model for diffuse reflection. It assumes an ideal diffusely reflecting surface, where the apparent brightness remains constant regardless of the observerviewing angle. Consequently, the reflected radiant intensity follows Lambert's cosine law.
  
-In GroIPM, a shader that simulates a Lambertian reflections can be implemented in two ways. The most straight forward way is to use a //RGBAShader// that just defines a colour (and an optional transparent part). The following code will generate a green box.+In GroIMP, a shader that simulates a Lambertian reflections can be implemented in two ways. The most straight forward way is to use a //RGBAShader// that just defines a colour (and an optional transparent part). The following code will generate a green box.
  
 <code java> <code java>
02_user_tutorials/04_light_modelling/light-modeling-light-shader.1737730316.txt.gz · Last modified: 2025/01/24 15:51 by tim2