https://github.com/ulastosun/unity-basic-shader-examples
An example Unity project for shader basics including texture manipulation, lighting, reflections, shadows, etc.
https://github.com/ulastosun/unity-basic-shader-examples
lighting unity-shader unity3d
Last synced: 5 months ago
JSON representation
An example Unity project for shader basics including texture manipulation, lighting, reflections, shadows, etc.
- Host: GitHub
- URL: https://github.com/ulastosun/unity-basic-shader-examples
- Owner: UlasTosun
- Created: 2025-01-29T20:07:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-01T10:52:39.000Z (over 1 year ago)
- Last Synced: 2025-05-07T12:56:19.262Z (about 1 year ago)
- Topics: lighting, unity-shader, unity3d
- Language: ShaderLab
- Homepage:
- Size: 6.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unity Basic Shader Examples
This repository includes basic shader examples in two categories; texture manipulation and lighting. These basic examples can be used to create more complex shaders.
## Lighting Examples
This section includes examples for basics of lighting, reflections, shadows, etc.
**Diffuse Reflection (Lambert Lighting):**

**Specular Reflection (Phong Lighting):**

**Environmental Reflection:**

**Fresnel (Rim) Effect:**

**Shadows:**

**Normal Map:**

## Basic Examples
This section includes examples for basics of texture manipulation such as repeating, sectioning, smooth step, solid gradient, zoom, etc.






## Additions
Also, this repository includes copies of default built-in UI shader and DOTS instancing shader of Unity. These shaders are added to modify them to be able to create new UI or DOTS shaders later.