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

FragmentSetup error (in Unity 2018.1) #5

Open
JPhilipp opened this issue Oct 29, 2018 · 1 comment
Open

FragmentSetup error (in Unity 2018.1) #5

JPhilipp opened this issue Oct 29, 2018 · 1 comment

Comments

@JPhilipp
Copy link

Hi, thanks for making this available! I'm getting this when I try:

"Shader error in 'Standard (Vertex Color)': 'FragmentSetup': cannot convert from 'half4[3]' to 'float4[3]' at Assets/Shaders/VertexColor/UnityVC.cginc(152) (on d3d11)"

@lucasoptml
Copy link

We solved this by changing the tangentToWorld* struct members from half4 to float4, which was a 2018.x unity change for FragmentSetup.

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