Lighting
说明
内容
- Rendering a geometry with a vertex diffuse lighting
- Rendering a geometry with a fragment specular lighting
- Rendering a normal mapped geometry
- Drawing a reflective and refractive geometry using cubemaps
- Adding shadows to the scene
介绍
…
Rendering a geometry with a vertex diffuse lighting
vertex
1 |
|
fragment
1 |
|
…
Rendering a geometry with a fragment specular lighting
1 |
|
normal mapeed geometry
vertex
1 |
|
fragment
1 |
|
Drawing a reflective and refractive geometry using cubemaps
order:+X,-X,+Y,-Y,+Z,-Z
vertex
1 |
|
fragment
1 |
|