What problem does it solve?
This Skill enables the addition of realistic lighting and shading to 3D models rendered in real-time applications, transforming flat surfaces into visually engaging objects.
Core Features & Use Cases
- Blinn-Phong Shading: Implements ambient, diffuse, and specular lighting components for per-pixel shading.
- Shader Uniforms: Manages the passing of necessary data like light direction, camera position, and material properties to the GPU shaders.
- Normal Transformation: Correctly transforms surface normals from object space to world space for accurate lighting calculations, even with non-uniform scaling.
- Use Case: Integrate this Skill to give a 3D model of a product a realistic sheen and depth, making it appear more tangible and appealing in a product configurator or game.
Quick Start
Use the basic-lighting skill to apply Blinn-Phong lighting to the loaded 'dragon.gltf' model with a light source positioned at (10, 10, 10).