Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2020.3.38f1 | Not compatible | Not compatible | Compatible |
* This editor tool only support 64-bit Unity Editor on Windows for now!
With a couple of clicks, you can easily convert GLSL image (fragment/pixel) shader to readable, usable and efficient Unity HDRP shader (HLSL), and you can preview the effect of shader immediately.
For other render pipeline, please use:
Shader Converter for Built-in Render Pipeline
Shader Converter for Universal Render Pipeline
Features:
- The conversion workflow is very simple: One editor window, codes side to side and one button to convert.
- Supports to set SubShader Tags: Render Type and Render Queue;
- Supports to set Pass command: Cull, ZWrite, ZTest, Blend;
- Supports to specify a shader model with the #pragma target directive;
- Supports to convert Shadertoy shader with multiple passes: Common, Buffer A, Buffer B, Buffer C, Buffer D;
- Supports to auto assign Shadertoy input: iFrame, iFrameRate, iMouse, iDate, iSampleRate, iChannelTime, iResolution;
- Supports the same keyboard and mouse input as Shadertoy;
- Supports 2D textures, cubemaps, video and music/sound input;
- Supports to convert main image shader to object space shader or full screen shader;
- Object space shader supports both VR (Single Pass Instanced) mode and non-VR mode;
- Supports to render the effect of main image shader to RenderTexture;
- [NEW] Supports Gamma and Linear color space;
- [NEW][Experimental] Simple global numeric global macros and constants defined in the shader can be extracted into the properties of the shader;
Notes:
* Tested in Unity 2020.3.38 and Unity 2021.3.25;
* This editor tool only support 64-bit Unity Editor on Windows for now!
* Converted shader with this editor tool only supports High Definition Render Pipeline (HDRP)!
* This editor tool cannot convert shaders for Built-in render pipeline to shaders for URP or HDRP!
Support:
If you have any questions, issues or suggestions, feel free to email me at:
Shader Converter - HDRP
