All Projects → keijiro → Standardgeometryshader

keijiro / Standardgeometryshader

An example of a geometry shader with Unity's standard lighting model support.

Projects that are alternatives of or similar to Standardgeometryshader

Skeletalgeometriceffects
Experiments on geometry shader instancing with skeletal animations
Stars: ✭ 436 (+43.89%)
Mutual labels:  unity, unity3d, shader, hlsl, effects
Kinocontour
Contour line filter for Unity
Stars: ✭ 400 (+32.01%)
Mutual labels:  unity, unity3d, shader, effects
Isaura
An attempt at making a aura thingie with a isoline shader.
Stars: ✭ 187 (-38.28%)
Mutual labels:  unity, unity3d, shader, effects
Unity Shaders
✨ Shader demo - More than 300 examples
Stars: ✭ 198 (-34.65%)
Mutual labels:  unity, unity3d, shader, hlsl
Bloodfx
Procedural blood stain shader
Stars: ✭ 170 (-43.89%)
Mutual labels:  unity, unity3d, shader, hlsl
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.
Stars: ✭ 11,698 (+3760.73%)
Mutual labels:  unity, unity3d, shader, hlsl
Computestochasticreflections
Compute Stochastic Screen Space Reflections for unity post processing
Stars: ✭ 163 (-46.2%)
Mutual labels:  unity, unity3d, shader, hlsl
Kinomotion
Motion blur post-processing effect for Unity
Stars: ✭ 484 (+59.74%)
Mutual labels:  unity, unity3d, shader, effects
Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-81.19%)
Mutual labels:  unity, unity3d, shader, hlsl
Noiseshader
Noise shader library for Unity
Stars: ✭ 616 (+103.3%)
Mutual labels:  unity, unity3d, shader, hlsl
Proccharvfx
Procedural character generation with Unity Shader Graph and VFX Graph
Stars: ✭ 114 (-62.38%)
Mutual labels:  unity, unity3d, shader, hlsl
Gpu Planetary Rendering
GPU atmosphertic scattering and planet generation in Unity 3D
Stars: ✭ 92 (-69.64%)
Mutual labels:  unity, unity3d, shader, hlsl
Kinotube
An image effect simulating analog video artifacts in Unity.
Stars: ✭ 142 (-53.14%)
Mutual labels:  unity, unity3d, shader, effects
Nvjob Water Shader Simple And Fast
#NVJOB Simple Water Shaders. Free Unity Asset.
Stars: ✭ 172 (-43.23%)
Mutual labels:  unity, unity3d, shader
Rimlight
Customizable rimlight shader for Unity that includes pulsation and noise scrolling. Give your scenes that extra oomph!
Stars: ✭ 170 (-43.89%)
Mutual labels:  unity, unity3d, shader
Kinovision
Frame visualization utility for Unity
Stars: ✭ 177 (-41.58%)
Mutual labels:  unity, unity3d, shader
Kinobinary
Binary image effect for Unity
Stars: ✭ 180 (-40.59%)
Mutual labels:  unity, unity3d, shader
Unityanime4k
Anime4K upscaler for Unity
Stars: ✭ 183 (-39.6%)
Mutual labels:  unity, unity3d, hlsl
Shinyeffectforugui
Shiny effect of uGUI, which does not need mask or normal map.
Stars: ✭ 204 (-32.67%)
Mutual labels:  unity, unity3d, shader
Unity Script Collection
A maintained collection of useful & free unity scripts / library's / plugins and extensions
Stars: ✭ 3,640 (+1101.32%)
Mutual labels:  unity, unity3d, shader

Standard Geometry Shader Example

gif

This is an example that shows how to implement a geometry shader that is compatible with the standard lighting model in Unity.

Writing geometry shaders is hard

Implementing a geometry shader in Unity is not easy as it seems because surface shaders don't allow geometry stage customization -- This means that you have to implement the whole lighting passes by yourself without the help of surface shaders.

This example shows the minimum implementation of vertex/geometry/fragment shader set that provides a custom geometry modification along with the standard lighting features.

Limitations

To make the example as simple as possible, some features are intensionally omitted from the shader.

  • No forward rendering support (!)
  • No lightmap support
  • No shadowmask support
  • No motion vectors support
  • No GPU instancing support
  • It hasn't been tested with XR.

It's not impossible to add these features to the shader, that might be pretty troublesome though.

License

Copyright (c) 2017 Unity Technologies

This repository is to be treated as an example content of Unity; you can use the code freely in your projects. Also see the FAQ about example contents.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].