Welcome to Course 2! Now that you understand the core concepts, we'll explore advanced geometry creation, loading 3D models, textures, and advanced materials including PBR and shaders.
Duration: 3-4 weeks
Focus: Complex geometries, custom materials, textures, 3D models
By the end of this course, you will be able to:
- ✅ Create custom geometries
- ✅ Load and display 3D models (GLTF, FBX, OBJ)
- ✅ Apply textures and texture maps
- ✅ Work with PBR materials
- ✅ Create custom shader materials
- ✅ Set up environment maps and HDRI
- ✅ Optimize 3D models and textures
Create your own 3D shapes:
- BufferGeometry
- Vertices and faces
- Custom geometry in R3F
- Procedural generation
Import external 3D models:
- GLTF format (recommended)
- useGLTF hook
- Model optimization
- Model manipulation
Apply images to 3D objects:
- useTexture hook
- Texture mapping
- UV coordinates
- Texture types (diffuse, normal, roughness, etc.)
Physically Based Rendering:
- Material properties
- Metalness and roughness
- Normal maps
- Ambient occlusion
Create custom shader materials:
- GLSL shaders
- Vertex shaders
- Fragment shaders
- ShaderMaterial
Set up realistic reflections:
- HDRI images
- Environment component
- Reflections and refractions
- IBL (Image-Based Lighting)
Location: examples/example-1-custom-geometry/
Create custom 3D shapes programmatically:
- BufferGeometry
- Custom vertices
- Procedural shapes
Location: examples/example-2-load-models/
Load and display 3D models:
- useGLTF hook
- Model positioning
- Model manipulation
Location: examples/example-3-textures/
Apply textures to objects:
- useTexture hook
- Texture mapping
- Multiple texture types
Location: examples/example-4-pbr-materials/
Advanced physically-based materials:
- Metalness and roughness
- Normal maps
- Material properties
Location: examples/example-5-shaders/
Custom shader materials:
- GLSL shaders
- Vertex and fragment shaders
- Custom effects
Location: examples/example-6-environment/
Environment maps and HDRI:
- Environment component
- HDRI setup
- Reflections
Location: project/3d-model-viewer/
Complete model viewer with:
- Load multiple models
- Camera controls
- Model information
- Professional presentation
Location: project/material-showcase/
Interactive material library:
- Various materials
- Texture combinations
- Real-time adjustments
- Material comparison
- Create custom geometries
- Load 3D models
- Apply textures
- Use PBR materials
- Create custom shaders
- Set up environment maps
- Complete 3D Model Viewer
- Complete Material Showcase
-
Navigate to any example:
cd examples/example-1-custom-geometry -
Install dependencies:
npm install
-
Start development server:
npm run dev
Before starting, make sure you've completed:
- Course 0: Foundation & Setup
- Course 1: Core Concepts
After completing this course:
- Course 3: Lighting & Post-Processing - Advanced lighting, shadows, post-processing effects
Ready to start? Begin with Example 1: Custom Geometry!
Last updated: January 2025