So, i have this .hlsl shaders. How do i import them to unity?
No. Unity shaders use Cg (similar, but different) wrapped in ShaderLab syntax to expose material properties to the inspector, so you’ll have to rewrite your shaders.
So, i have this .hlsl shaders. How do i import them to unity?
No. Unity shaders use Cg (similar, but different) wrapped in ShaderLab syntax to expose material properties to the inspector, so you’ll have to rewrite your shaders.