Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no matching 3 parameter intrinsic function #14

Open
yosun opened this issue Mar 28, 2019 · 1 comment
Open

no matching 3 parameter intrinsic function #14

yosun opened this issue Mar 28, 2019 · 1 comment

Comments

@yosun
Copy link

yosun commented Mar 28, 2019

Shader error in 'ShaderMan/Wythoff': 'tex2D': no matching 3 parameter intrinsic function; Possible intrinsic functions are: tex2D(sampler2D, float2|half2|min10float2|min16float2) tex2D(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2) at line 125 (on metal)

Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY 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_DLDR_ENCODING

https://www.shadertoy.com/view/Md3yRB

@smkplus
Copy link
Owner

smkplus commented Mar 29, 2019

change float k = tex2D(_ThirdTex, font_uv, -100.0).w + 1e-6; to float k = tex2D(_ThirdTex, font_uv).w + 1e-6;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants