Why does the textures with same parameters looks different?

Hello. I’m trying to create eye material and I have 2 textures:



As you can see the size of textures is the same, but when I’m trying to use it I’m getting this result:
For 1 texture (everything is ok):

For 2 texture (texture is too small):

Why is this happening?
Material I’m using:

I’ve checked - the problem is not caused by IOR. Both textures are using the same UV. Looks like the 2 texture is just smaller, but both textures have size 512x512.

Your texture has a black border around it that you don’t see in the texture viewer because its hidden by the alpha mask. It’s visible in your material because you’re not using the alpha to mask it.

Really, I didn’t noticed it. How can I solve my problem then? Just connect alpha channel to opacity?
Update - connect alpha channel to opacity is not working.

Ideally you would go back to whatever you made your texture in, fill the background with the color you want and throw away the alpha channel.

Otherwise you’re going to need to lerp the eye texture with a solid color using the alpha channel as the lerp alpha.

You may need to swap the a/b inputs

1 Like

Yes, it works, thank you very much. But I think it’s better to use white color for eyes.

I just used red as an example so you could understand what is happening.

Got it, thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.