STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
300
游戏中
1,864
在线
成立于
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://psteamcommunity.yuanyoumao.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://psteamcommunity.yuanyoumao.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