Unity: Difference between revisions

75 bytes added ,  17 August 2019
no edit summary
No edit summary
No edit summary
Line 4: Line 4:


== Shaders ==  
== Shaders ==  
Unity Shaders are written in HLSL.
Unity shaders are written in HLSL.
Unity supports the standard vertex, geometry, fragments shader pipeline.
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 Shaders are useful for doing parallel computation on the GPU.
Compute shaders are useful for doing parallel computation on the GPU.<br>
Results from Compute Shaders can be used on the graphical shaders without being copied back to the CPU.
Results from compute shaders can be used on the graphical shaders without being copied back to the CPU.<br>