# 3d-game-shaders-for-beginners

> A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game

- Type: skill
- Field: Learning & Education
- Repository: https://github.com/lettier/3d-game-shaders-for-beginners
- GitHub stars: 20071
- Licence: none stated
- Language: C++
- Last push: 2023-06-25
- Page: https://imutechz.in/agents/3d-game-shaders-for-beginners

## What it is
A step-by-step written guide to implementing 3D game shading techniques such as SSAO, depth of field, lighting, normal mapping, bloom, and screen space reflections. It is aimed at developers who want to add these effects to their own 3D games and port the ideas to whatever engine they use, such as Godot, Unity, or Unreal. The glue code uses the Panda3D game engine and GLSL, with each technique explained in its own section.

## Features
- Separate sections for each shading technique
- Covers lighting, normal mapping, and deferred rendering
- Post-processing topics like blur, bloom, SSAO, and depth of field
- Screen space reflection and refraction sections
- Explanations written to be ported to other engines
- Demo built with Panda3D and GLSL

## Best for
- Learning shader techniques for 3D games
- Porting shading effects to Godot, Unity, or Unreal
- Understanding post-processing effects like bloom and SSAO
- Studying GLSL and Panda3D shader examples

## Pros
- Explains each technique so it can be applied or ported to other stacks
- Includes a demo with setup, build, and run instructions
- Covers a broad range of shading and post-processing effects

## Cons
- Glue code is specific to Panda3D and GLSL
- License covers only the .cxx, .vert, and .frag source files

Tags: shaders, 3d-graphics, glsl, panda3d, game-development, ssao, post-processing, learning
