Xiexe / Unity-Lit-Shader-Templates

Templates for shaders with lighting, built for Unity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a set of template shaders that recieves lighting, but otherwise are untouched.

They will get added under the "Create/Shaders/Custom" menu when right clicking in your project file browser within Unity.

The currently supported templates are:

  • Vertex Fragment Shaders
  • Geometry Shaders
  • Tessellated Geometry Shaders
  • Tessellated Shaders

Supported Lighting Features:

  • Full Shadow map support
  • Full Baked Lightmap support
  • Directional Lightmap support
  • Realtime Lightmap support
  • Specular Lightmap Occlusion
  • Vertex Light support (Sampled in Pixel Shader to allow for normal mapping)
  • Linear SH Light Probe sampling

Supported Extra Features:

  • Triplanar Mapping in World Space
  • Triplanar Mapping in Object Space

In Progress Features:

  • Mixed lighting support

Planned:

  • Subsurface Scattering

About

Templates for shaders with lighting, built for Unity.

License:MIT License


Languages

Language:HLSL 82.6%Language:C# 17.4%