glsl2hlsl
glsl2hlsl copied to clipboard
ifndef handling issue - Unterminated #ifndef
Love this tool! I'm trying to convert this shader, and found that Unity will complain about:
Unterminated #ifndef Compiling Vertex program Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
Shader source: https://www.shadertoy.com/view/4tjGRh