Skip to content

Light Models

The All In 1 3D Shader offers a completely personalizable lighting system that can be mixed and matched to fit your specific project needs. Unlike traditional shaders that restrict you to a single lighting approach, this system provides the flexibility to combine different lighting components for your desired visual style.

  • None: Skips direct lights but keeps ambient light, so the material still follows the scene’s ambient color. For a fully unlit look, add Custom Ambient Light in white, see the FAQ
  • Classic: Standard lighting calculation suitable for most scenarios
  • Toon: Stylized cel-shaded look. The edge between light and shadow is soft at the default Toon Smoothness of 0.5, set it to 0 for a hard edge
  • ToonRamp: Uses gradient texture for more control over shading steps
  • HalfLambert: Softer lighting that wraps around objects more than classic model
  • FakeGI: Simulates global illumination by brightening shadowed areas
  • FastLighting: Explained over fast-lighting. It takes its light from a component rather than from scene lights, and it ignores the PBR Shading Model
The Light Model options on the demo's test shape with the light circling the scene: None, Classic, Toon, Toon with Smoothness 0, ToonRamp, HalfLambert, FakeGI and FastLighting

Toon and ToonRamp step by step, with the shade colour and crisp received shadows: Toon and Cel Shading in Unity URP.

  • Basic: Simpler lighting calculations for standard scenarios
  • PBR: Physically Based Rendering for realistic material simulation with properties like:
    • Metallic: Controls how metal-like surfaces appear (0-1)
    • Smoothness: Determines reflection sharpness and microsurface detail
Basic with its Shininess rising, PBR at its demo values, then PBR with Metallic and with Smoothness sweeping
  • None: No specular highlight, which is the default
  • Classic: Blinn-Phong with the Basic Shading Model, a microfacet highlight with PBR
  • Toon: Hard-edged highlights for cartoon styles
  • Anisotropic: Stretched highlights following a direction (great for hair, brushed metals)
  • AnisotropicToon: Combines anisotropic highlights with toon-style hard edges
Classic, Toon, Anisotropic and AnisotropicToon specular side by side with the light circling the scene

Making a VR game? If hard edged highlights look different in each eye, see VR Shared Eye Shading.

Additional features include Reflection systems for environmental reflections, Normal Mapping for surface detail, and customizable Shadow options. The real power comes from mixing these different components - for example, pairing a Toon Light Model with PBR Shading for a unique stylized look, or combining Classic lighting with Anisotropic specular for realistic materials like hair or fabric.