Source Filmmaker

Source Filmmaker

Eye textures are small and repeating
So I've got the eyes set up and I've used the vmt for the Scout's eyes as a base for both eye textures, though for some reason the eyes appear extremely small and are repeated over and over within the eye, how do I fix this?
< >
Showing 1-7 of 7 comments
Zappy Jan 15, 2020 @ 12:17am 
To make the eyes on the texture bigger, make the eyes on the texture bigger. I'm really not sure what else to tell you, just keep in mind that the eye size is relative to the texture size.
32 pixels of a 128-pixel-wide texture will appear just as big as 256 of a 1024-pixel-wide texture, as that would be 25% of the texture's width in both cases.

You may want to click "Windows" > "Console" at the top-left of Source Filmmaker's main window, and type "R_EyeSize 0" into the console and press Enter to execute that.
This will set the "eye texture scale offset" back to 0 (the default). If you previously had it as a negative number, that could cause the eyes to appear smaller.


As for the eye textures "repeating" (or, more terminologically, tiling), try to open the VTF(s) in question using VTFEdit, enable the "Clamp S", "Clamp T", and "Clamp All" texture flags, then save the VTF(s). Those texture flags prevent the texture from tiling.
Your New Stepdad Jan 15, 2020 @ 1:08am 
Clamping S+T makes the iris disappear and leaves the eyes blank, and clamping S+T+all simply makes the eye disappear altogether, does this mean that I have the coordinates wrong on the eye?
Zappy Jan 15, 2020 @ 2:18am 
Originally posted by That Guy on the Left:
Clamping S+T makes the iris disappear and leaves the eyes blank, and clamping S+T+all simply makes the eye disappear altogether, does this mean that I have the coordinates wrong on the eye?
Yes. The "clamp" flags will only "clamp" the texture outside of the first "tile" of it, which is the tile that's supposed to be where the eyes are looking at.
Your New Stepdad Jan 15, 2020 @ 10:51am 
Can I ask how you preview eye locations in crowbar? I've seen a few people do it but I can't seem to find the toggle for it.
Zappy Jan 15, 2020 @ 11:06am 
Originally posted by That Guy on the Left:
Can I ask how you preview eye locations in crowbar? -
I'm pretty sure (but not certain) that you can't, at least not with a visual display rather than just raw co-ordinate numbers.


While you can't use Source Filmmaker's model viewer to view eye co-ordinates, you can use it to view attachment co-ordinates, which may or may not be helpful instead.

For that, right-click Source Filmmaker in your Steam library, choose "Launch" to open a pop-up selection menu, select "Launch SDK" in it, click "Launch", click "Model Viewer", click "File" > "Load Model...", open the model in question, switch to the "Render" tab, and enable the "Attachments (Ctrl-A)" option.

Do keep in mind that this will only show $Attachment co-ordinates, not Eyeball co-ordinates, though.
Your New Stepdad Jan 15, 2020 @ 11:19am 
That's disappointing, it would remove a lot of trial and error. That being said I swore I've seen it before: https://i.imgur.com/YAZgnfY.jpg https://i.imgur.com/SHGae9p.jpg Maybe it wasn't in the HLModel Viewer.
Zappy Jan 15, 2020 @ 11:47am 
Originally posted by That Guy on the Left:
- That being said I swore I've seen it before: -Images- -
If those two images are of the same model, the eye-related attachments are bound to a wrong bone, it seems.

If that's your model, then that's hopefully the problem; Double-check that the eye co-ordinates are bound to the head bone, for both Eyeball and $Attachment.

Also, try to make sure that you have an attachment called "eyes" placed between the two Eyeballs co-ordinates (I'm not sure why, but a "power-user" friend of mine says that something depends on that in some way), and also that you have any other attachment afterwards (it doesn't matter what it's called or where it is, it just needs to be an attachment that's defined after the "eyes" attachment).
Last edited by Zappy; Jan 15, 2020 @ 11:47am
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Jan 15, 2020 @ 12:04am
Posts: 7