Skip to main content

9 docs tagged with "materials"

View all tags

Basic Materials

Create materials, assign them to meshes, and tune color and physical shading on primitives step by step.

Custom Shaders

Use ShaderMaterial for dissolve and edge effects with custom shaders that run on both WebGL and WebGPU backends.

Fading objects in and out

Animate material opacity so individual models fade in and out without duplicating geometry or materials.

Loading Circle UI

Implement a radial loading spinner UI with materials and animation for clear feedback while content streams in.

Planet Earth

Shade a globe with Earth textures, materials, and shaders to present a stylized planetary body in real time.

Simple water surface

Approximate a stylized water plane with scrolling normals and fresnel-tinted materials for simple reflective surfaces.

Switching materials at runtime

Swap material assets on render components in code to change colors, shaders, or skins without duplicating mesh entities.