lettier/3d-game-shaders-for-beginners
关于
🎮 一份分步指南,介绍如何为你的 3D 游戏实现 SSAO、景深、光照、法线贴图等。
游戏与模拟器实测星标增长
- 24小时
- +3
- 7天
- +50
- 15天
- +144
- 1个月
- +185
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
3D Game Shaders For Beginners
Interested in adding textures, lighting, shadows, normal maps, glowing objects, ambient occlusion, reflections, refractions, and more to your 3D game? Great! Below is a collection of shading techniques that will take your game visuals to new heights. I've explained each technique in such a way that you can take what you learn here and apply/port it to whatever stack you use—be it Godot, Unity, Unreal, or something else. For the glue in between the shaders, I've chosen the fabulous Panda3D game engine and the OpenGL Shading Language (GLSL). So if that is your stack, then you'll also get the benefit of learning how to use these shading techniques with Panda3D and OpenGL specifically.
Table Of Contents
- Setup
- Building The Demo
- Running The Demo
- Reference Frames
- GLSL
- Render To Texture
- Texturing
- Lighting
- Blinn-Phong
- Fresnel Factor
- Rim Lighting
- Cel Shading
- Normal Mapping
- Deferred Rendering
- Fog
- Blur
- Bloom
- SSAO
- Motion Blur
- Chromatic Aberration
- Screen Space Reflection
- Screen Space Refraction
- Foam
- Flow Mapping
- Outlining
- Depth Of Field
- Posterization
- Pixelization
- Sharpen
- Dilation
- Film Grain
- Lookup Table (LUT)
- Gamma Correction
License
The included license applies only to the software portion of 3D Game Shaders For Beginners—
specifically the .cxx, .vert, and .frag source code files.
No other portion of 3D Game Shaders For Beginners has been licensed for use.
Attributions
Copyright
(C) 2019 David Lettier
lettier.com
探索相关项目
加载中…