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
02_user_tutorials:04_light_modelling:light-modeling-light-shader [2025/05/30 17:07] sophiewachtel02_user_tutorials:04_light_modelling:light-modeling-light-shader [2025/05/30 17:23] (current) sophiewachtel
Line 20: Line 20:
 Lambertian reflection (Lambert, 1760) is a widely used model for diffuse reflection. It assumes an ideal diffusely reflecting surface, where the apparent brightness remains constant regardless of the observer’s viewing angle. Consequently, the reflected radiant intensity follows Lambert's cosine law. Lambertian reflection (Lambert, 1760) is a widely used model for diffuse reflection. It assumes an ideal diffusely reflecting surface, where the apparent brightness remains constant regardless of the observer’s viewing 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.1748617677.txt.gz · Last modified: 2025/05/30 17:07 by sophiewachtel