تخطي إلى المحتوى
الوسائط 1 للقائمة Shader Converter - HDRP
0 comments

الوصف

Shader Converter - HDRP is an editor tool that converting GLSL image shader on the Shadertoy website to Unity HDRP shader.

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.

This package is only compatible with HDRP of Unity. For other render pipeline, please use:

Shader Converter for Unity BiRP

Shader Converter for Unity URP

For Unreal Engine, please use: Shader Converter for Unreal Engine

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;

  • Supports Gamma and Linear color space;

  • [Experimental] Simple global numeric global macros and constants defined in the shader can be extracted into the properties of the shader;

  • [NEW] Supports Unity 6;

Video:

How to convert image shader to Unity HDRP shader and material

How to convert Multipass shader to Unity HDRP shader and material

Notes:

* Tested in Unity 2020.3.38, Unity 2021.3.25, Unity 2022.3.60 and Unity 6000.0.23;

* 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:

[email protected]

التنسيقات المضمنة