Skip to content
soyouwannagamedev
/
    Suggest
    • Home
    • Playlists
    • Saved

    Areas

    • Top-down
    • Platformers
    • Sprites and images
    • Tiles and worlds
    • Shadows
    • Light and glow
    • Camera
    • Motion and feel
    • Collision
    • Pixel look

    Project

    • Source code
    • Suggest a word

    Every preview is drawn live in your browser. Made for people learning game development.

    HomePlaylistsSource
    soyouwannagamedev
    • Home
    • Playlists
    • Saved

    Areas

    • Top-down
    • Platformers
    • Sprites and images
    • Tiles and worlds
    • Shadows
    • Light and glow
    • Camera
    • Motion and feel
    • Collision
    • Pixel look

    Project

    • Source code
    • Suggest a word

    Every preview is drawn live in your browser. Made for people learning game development.

    Light and glow

    AllPlaylistsTop-downPlatformersSprites and imagesTiles and worldsShadowsLight and glowCameraMotion and feelCollisionPixel look
    • Interactive

      Inverse-square light falloff

      By Light-tan

      • Show the code
    • Interactive

      Surface roughness and highlights

      By Light-tanAlso called Specular highlights

      • Show the code
    • Interactive

      Fresnel reflections

      By Light-tan

      • Show the code
    • Interactive

      Lighting a silhouette

      By Light-tan

      • Show the code
    • Interactive

      Depth fog

      By Light-tanAlso called Distance fog

      • Show the code
    • Interactive

      Cel-shaded lighting

      By Light-tanAlso called Toon shading

      • Show the code
    • Interactive

      Dithered 3D lighting

      By Light-tan

      • Show the code
    • Interactive

      Point light

      By Light-tanAlso called 2D light

      • Show the code
      • Godot: PointLight2D
      • Unity: Create a 2D light (URP)
    • Interactive

      Ambient light

      By Light-tanAlso called global light

      • Show the code
      • Godot: CanvasModulate
      • Unity: 2D lighting in URP (Global light)
    • Interactive

      Normal map

      By Light-tanAlso called normals

      • Show the code
      • Godot: Normal and specular maps
      • Unity: Add a normal map to a sprite (URP)
    • Interactive

      Additive blending

      By Light-tanAlso called additive

      • Show the code
      • Godot: CanvasItemMaterial.blend_mode
      • Unity: Blend command
    • Interactive

      Bloom

      By Light-tanAlso called glow

      • Show the code
      • Godot: Environment.glow_enabled
      • Unity: Bloom (URP)