STEAM 群組
Blender Source Tools BleST
STEAM 群組
Blender Source Tools BleST
229
遊戲中
1,590
線上
創立
2013 年 11 月 8 日
所有討論 > Help > 主題細節
FRAGMENTATION 2019 年 12 月 16 日 上午 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.
引用自 Zappy:
引用自 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.
< >
目前顯示第 1-2 則留言,共 2
此討論區的板務認為本留言為原主題提供了解答。
Zappy 2019 年 12 月 16 日 上午 9:56 
引用自 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.
最後修改者:Zappy; 2019 年 12 月 16 日 上午 9:57
FRAGMENTATION 2019 年 12 月 16 日 上午 10:27 
引用自 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!
< >
目前顯示第 1-2 則留言,共 2
每頁顯示: 1530 50

所有討論 > Help > 主題細節
張貼日期: 2019 年 12 月 16 日 上午 9:49
回覆: 2