rockefeller Posted March 7, 2018 Share Posted March 7, 2018 Hello, Is there a way to access the texcoord1 in the shader as an attribute? I know I can access texcoord0 using attribute vec2 uv; but uv0/uv1/uv2 etc don't seem to do anything. This is trivial for using lightmaps Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2018 Share Posted March 8, 2018 Hello, can you sahre your code? Are you using ShaderMaterial? did you think about adding the uv2 attributes in your declaration? newbie11 1 Quote Link to comment Share on other sites More sharing options...
rockefeller Posted March 9, 2018 Author Share Posted March 9, 2018 I only tried uv, uv0, and uv1. I've just tried uv2 and it worked, thanks GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.