forge-environment-mapping

Official

Cube-map skybox rendering and reflections.

Authorcode-review-benchmark
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Environment mapping provides a practical approach to render immersive 360-degree backgrounds and realistic reflections in 3D scenes using cube maps with SDL3 GPU. It enables the creation of a skybox and accurate reflections on metallic or glossy surfaces, enhancing player immersion.

Core Features & Use Cases

  • Cube map textures: Create a 6-face cubemap suitable for skyboxes and reflections.
  • Skybox rendering: Render a surrounding environment with correct depth handling (depth = 1.0) and appropriate face culling.
  • Reflection mapping: Sample the cube map in fragment shaders to produce real-time reflections on materials.
  • Render order & best practices: Proper render order, depth/stencil configuration, and view-matrix handling to avoid parallax.
  • Use cases: Add environmental backgrounds for space, outdoor scenes, indoor environments, and glossy surfaces.

Quick Start

Create a cubemap texture with six faces, load each face image, and render a skybox around the camera with depth testing configured for depth=1.0.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: forge-environment-mapping
Download link: https://github.com/code-review-benchmark/coderabbit_prs2__forge-gpu__coderabbit__PR323__20260317/archive/main.zip#forge-environment-mapping

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.