VRChat
Dart Jan 10, 2018 @ 7:02pm
Avatar eyes disappear in Unity?
My avatar was fine in blender, but when I imported him over to Unity, his eyes disappeared. I think it has something to do with the fact that the eyeballs are on a different material name instead of the one assigned to it. I tried grabbing the one with the eyeball texture and putting it on the eye, but nothing changed. How do I fix this?

Here's what it looks like...

https://imgur.com/151POO8
< >
Showing 1-9 of 9 comments
Vatarga Jan 10, 2018 @ 7:21pm 
i think thats the eye diffuse, which is supposed to by mainly transparent and just adds some shading. it looks like its set to opaque on the top right. try the other setting to see if that works. also maybe try a different shader for that specific texture. flat lit toon will fill any tranparent textures with the outline colour
Dart Jan 10, 2018 @ 7:41pm 
Originally posted by Vatarga:
i think thats the eye diffuse, which is supposed to by mainly transparent and just adds some shading. it looks like its set to opaque on the top right. try the other setting to see if that works. also maybe try a different shader for that specific texture. flat lit toon will fill any tranparent textures with the outline colour

Oh, I think I know why now. The eyeball texture is flipped inside out. I zoomed into the head and looked at the eyes from inside and it shows this...

https://imgur.com/FvMy2F2

It shows black on the part you're suppose to see and it shows the eye texture on the inside instead. How do I reverse it?
Vatarga Jan 10, 2018 @ 7:52pm 
Originally posted by Dart3127:
Originally posted by Vatarga:
i think thats the eye diffuse, which is supposed to by mainly transparent and just adds some shading. it looks like its set to opaque on the top right. try the other setting to see if that works. also maybe try a different shader for that specific texture. flat lit toon will fill any tranparent textures with the outline colour

Oh, I think I know why now. The eyeball texture is flipped inside out. I zoomed into the head and looked at the eyes from inside and it shows this...

https://imgur.com/FvMy2F2

It shows black on the part you're suppose to see and it shows the eye texture on the inside instead. How do I reverse it?
ok, so the model had the texture applied to the inside, and is expecting to render through the other side. Unity doesn't have the shaders required to do this pre-installed. you need to go to the unity asset store and install the Free Double Sided Shaders. You can apply it to just the required materials, so the rest can stay flat lit toon.
Last edited by Vatarga; Jan 10, 2018 @ 7:52pm
Dart Jan 10, 2018 @ 8:30pm 
Originally posted by Vatarga:
Originally posted by Dart3127:

Oh, I think I know why now. The eyeball texture is flipped inside out. I zoomed into the head and looked at the eyes from inside and it shows this...

https://imgur.com/FvMy2F2

It shows black on the part you're suppose to see and it shows the eye texture on the inside instead. How do I reverse it?
ok, so the model had the texture applied to the inside, and is expecting to render through the other side. Unity doesn't have the shaders required to do this pre-installed. you need to go to the unity asset store and install the Free Double Sided Shaders. You can apply it to just the required materials, so the rest can stay flat lit toon.

I'm trying to use the Circonia Studio Double Sided Shader, but either it's not working, or I still don't know how to flip it with the shader tools. I tried tilting it, which comes out very sloppy. I don't know why this is soo difficult, I just want it on the other side.
Vatarga Jan 10, 2018 @ 8:39pm 
Originally posted by Dart3127:
Originally posted by Vatarga:
ok, so the model had the texture applied to the inside, and is expecting to render through the other side. Unity doesn't have the shaders required to do this pre-installed. you need to go to the unity asset store and install the Free Double Sided Shaders. You can apply it to just the required materials, so the rest can stay flat lit toon.

I'm trying to use the Circonia Studio Double Sided Shader, but either it's not working, or I still don't know how to flip it with the shader tools. I tried tilting it, which comes out very sloppy. I don't know why this is soo difficult, I just want it on the other side.
i don't know then, it's not possible in unity to actually flip the texture to the other side. the double sided shader is the only way i know how tomake the texture pass though a mesh. it can be done in blender, but i don't know how
Dart Jan 10, 2018 @ 8:57pm 
It's just so weird because in blender it looks completely fine. The only time in blender that it didn't look okay is when I actually clicked on the eye itself, then the eye disappeared, but it reappeared once I clicked on a different part other than the eye in blender. I might have to go back there and make adjustments there somehow
I know this is old but i was able to find a solution messing with the shader and came across this video:

https://www.youtube.com/watch?v=tDa8W8aPrjw

Turn the cull to off in the rendering options and it'll show properly!! Hope this helps.
Guh~hey~hey~♫ Jun 11, 2022 @ 4:03am 
Get you rmodel back in blender and reverse the mip map of the eyes mash. Your texture isnt displayed on the right side of the mesh.
Dart Jun 11, 2022 @ 2:03pm 
oh yes! I did manage to fix it after all these years aha. I don't remember how at this point, but thanks everyone for the support. Much appreciated
< >
Showing 1-9 of 9 comments
Per page: 1530 50