STEAM-GRUPPE
Blender Source Tools BleST
STEAM-GRUPPE
Blender Source Tools BleST
299
I SPIL
1,961
ONLINE
Grundlagt:
8. november 2013
Alle diskussioner > Help > Trådoplysninger
FRAGMENTATION 16. dec. 2019 kl. 9:49
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://steamhost.cn/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://steamhost.cn/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.
Oprindeligt skrevet af Zappy:
Oprindeligt skrevet af 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.
< >
Viser 1-2 af 2 kommentarer
En moderator af dette forum har angivet, at dette indlæg besvarer det oprindelige emne.
Zappy 16. dec. 2019 kl. 9:56 
Oprindeligt skrevet af 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.
Sidst redigeret af Zappy; 16. dec. 2019 kl. 9:57
FRAGMENTATION 16. dec. 2019 kl. 10:27 
Oprindeligt skrevet af 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!
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50

Alle diskussioner > Help > Trådoplysninger
Dato opslået: 16. dec. 2019 kl. 9:49
Indlæg: 2