Unity: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
== Shaders == | == Shaders == | ||
Unity | Unity shaders are written in HLSL. | ||
Unity supports the standard vertex, geometry, | Unity supports the standard vertex, geometry, fragment shader pipeline.<br> | ||
They also have their own variation of surface shaders. | They also have their own variation of fragment shaders called surface shaders which automatically handle lighting.<br> | ||
Compute | Compute shaders are useful for doing parallel computation on the GPU.<br> | ||
Results from | Results from compute shaders can be used on the graphical shaders without being copied back to the CPU.<br> | ||