- Home /
What are Shader Types?
I want to create custom shaders. What type of shader should I choose when creating shaders? Can anyone explain their features to me ?
Answer by FlaSh-G · Sep 08, 2021 at 08:38 PM
Those are just templates, starting points. You're not locking yourself in any way by choosing one and not another here. It's just quicker to write a standard shader with a standard shader template than with another one.
The templates you have available here are
Standard Surface Shader, a physically based shader for mesh surfaces.
Unlit shader, also for surfaces but not having any light calculation at all.
Image effect shader. Not for surfaces, but for manipulating the on-screen image after the scene's content was rendered. Also called post-processing.
Compute Shader not rendering a visible thing at all; it's a piece of code that can do lots of jobs for you, but on the graphics card instead of the CPU. Since GPUs are much better at doing the same type of work a lot of times at once than CPUs, compute shaders allow you two implement certain things, like mesh deformation, a lot more performant than CPU code. More info here.
Lastly, a shader variant collection is a collection of very similar shaders, used for smarter shader loading.
Your answer

Follow this Question
Related Questions
I am Getting Error in shader how can i solve it,I am Getting error in Shader 0 Answers
'UNITY_PASS_SHADOWCASTER' in shader 0 Answers
Unity Advanced Shader Help 0 Answers
Find position of pixel that's currently being calculated in shadergraph custom function 0 Answers
Gradient mapping in shader graph 1 Answer