STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
401
IN-GAME
2,284
ONLINE
Founded
November 8, 2013
All Discussions > Help > Topic Details
Eye Help
Okay, so I'm making a model for Garry's Mod with eyeposing. Everything was going fine until I decided to use custom textures for the eyes. I'm pretty much having the same problem that Splinks' Jeff the Killer model has where the iris tiles infinitely. You can even see it without scaling it:

https://steamcommunity.com/sharedfiles/filedetails/?id=1938319106

What's weird is that it's clearly a problem with the .vmt and not the .qc file, because if I make it use Barney's eyes, everything works fine:

https://steamcommunity.com/sharedfiles/filedetails/?id=1938319123

I don't know if this is the right place to ask about this, so if it isn't, please point me in the right direction.

Here's the .vmt file:

"eyes" { "$basetexture" "models/mcdonalds/eyeball_l" "$iris" "models/mcdonalds/ronald_pupil_left" "$halflambert" 1 }

I know the "eyes" shader is outdated, but it works fine on all the default models that use it.

"eyes" { "$basetexture" "models/Humans/Male/eyeball_l" "$iris" "models/Humans/Male/pupil_l" "$halflambert" 1 }

I've also tried the "EyeRefract" shader, but I get the same problem.

"EyeRefract" { "$Iris" "models/mcdonalds/ronald_iris" "$AmbientOcclTexture" "models/mcdonalds/ronald_eyeball_ambient_occlusion" "$Envmap" "Engine/eye-reflection-cubemap-" "$CorneaTexture" "Engine/eye-cornea" "$EyeballRadius" "0.5" "$AmbientOcclColor" "[0.33 0.33 0.33]" "$Dilation" ".5" "$ParallaxStrength" ".25" "$CorneaBumpStrength" "1" "$Glossiness" "0" "$halflambert" "1" "$RaytraceSphere" "1" "$SphereTexkillCombo" "0" }

If anyone could help me out, I'd appreciate it.
Originally posted by Zappy:
Originally posted by bubstock9:
- What's weird is that it's clearly a problem with the .vmt -
It's not; It's instead the iris VTF.

Using something like VTFEdit, enable the VTF's "Clamp S", "Clamp T", and/or "Clamp All" flags in the "Image" tab, then save the texture and reboot Source Filmmaker.
< >
Showing 1-2 of 2 comments
A moderator of this forum has indicated that this post answers the original topic.
Zappy Dec 16, 2019 @ 9:56am 
Originally posted by bubstock9:
- What's weird is that it's clearly a problem with the .vmt -
It's not; It's instead the iris VTF.

Using something like VTFEdit, enable the VTF's "Clamp S", "Clamp T", and/or "Clamp All" flags in the "Image" tab, then save the texture and reboot Source Filmmaker.
Last edited by Zappy; Dec 16, 2019 @ 9:57am
FRAGMENTATION Dec 16, 2019 @ 10:27am 
Originally posted by Zappy:
It's not; It's the VTF instead.

Well, I was close.

Thanks for getting back to me so quickly! I tried it and it worked. Thank you so much!
< >
Showing 1-2 of 2 comments
Per page: 1530 50

All Discussions > Help > Topic Details
Date Posted: Dec 16, 2019 @ 9:49am
Posts: 2