Useful Links
Computer Science
Computer Graphics and Visualization
WebGL and Computer Graphics
1. Fundamentals of Computer Graphics
2. Introduction to WebGL
3. WebGL Rendering Pipeline
4. Mathematical Foundations for 3D Graphics
5. 3D Transformations and Projections
6. Color and Material Properties
7. Texture Mapping
8. Lighting and Shading
9. Advanced Rendering Techniques
10. WebGL 2.0 Features
11. Performance and Optimization
Lighting and Shading
Lighting Model Components
Light Properties
Light Color
RGB Light Color
Light Intensity
Brightness Control
Light Position
Point Light Position
Light Direction
Directional Light Vector
Material Properties
Diffuse Color
Surface Base Color
Specular Color
Reflection Color
Shininess Factor
Specular Highlight Size
Ambient Color
Base Illumination
Light Types
Ambient Lighting
Global Illumination
Constant Light Contribution
Directional Lighting
Parallel Light Rays
Infinite Distance Light
Point Lighting
Omnidirectional Light
Distance-based Attenuation
Spot Lighting
Cone-shaped Light
Direction and Angle Control
Lighting Models
Diffuse Reflection
Lambertian Reflection Model
Surface Normal Dependency
Specular Reflection
Phong Reflection Model
View-dependent Reflection
Blinn-Phong Model
Half-vector Approach
Shader-based Lighting Implementation
Normal Vector Usage
Surface Normal Vectors
Normal Interpolation
Normal Transformation
Lighting Calculation Location
Per-Vertex Lighting
Vertex Shader Calculation
Per-Pixel Lighting
Fragment Shader Calculation
Normal Matrix Application
Normal Transformation Matrix
Inverse Transpose Matrix
Previous
7. Texture Mapping
Go to top
Next
9. Advanced Rendering Techniques