Garry's Mod

Garry's Mod

HL2 Refracting Eyes (Replacement)
62 Comments
JUλN 15 May @ 8:58am 
whats the difference between this and enhanced upscaled eyes
Kurgan 15 Feb @ 8:55pm 
Yeah that's the thing, I saw it and I figured why not get it to work lmfao
Gunslinger ☢  [author] 15 Feb @ 7:42pm 
Oh and its also funny because thats what the EyeRefract shader was supposed to do, but its unfinished and broken.
Gunslinger ☢  [author] 15 Feb @ 7:35pm 
Be my guest
Kurgan 15 Feb @ 3:01pm 
Yo gunslinger, is it alright with you if i use your work as a demo for a material proxy i made? It basically just dilates the pupils based on how much light the entity's receiving
JackOof 11 Feb @ 5:45pm 
Could you upload this to the HL2 or HL2VR workshop?
Gunslinger ☢  [author] 26 Sep, 2024 @ 1:11am 
Valve made a lot of unused pupil textures from HL2s development, seems they wanted to introduce a lot of variety in character eyes before settling on only the main characters having unique pupils.

Most of those are from unused in the files (mostly citizen folder) or from the HL2 Leak, bar the stripped soldier eyes which were made by Rusty and i adapted to be refract eyes.
Chonch 26 Sep, 2024 @ 1:04am 
These are really cool. How did you come up with the extra textures?
JUλN 30 Jun, 2024 @ 11:06am 
unsubbed from ai upscaled eyes to download yours 🔥🔥🔥🔥
Gunslinger ☢  [author] 27 Jun, 2024 @ 10:56am 
No
JUλN 27 Jun, 2024 @ 10:55am 
does this work with ai upscaled eyes?
Gunslinger ☢  [author] 27 Jun, 2024 @ 10:54am 
It changes the eye textures using L4D eyes as a base with HL2 pupils, using the RefractEye shader which otherwise only the Vortigaunt uses.
JUλN 27 Jun, 2024 @ 9:57am 
does this change the eye texture or what?
TotalChaos 9 May, 2024 @ 5:59pm 
Ok. I might work on this some other time then, because I'm busy with other projects right now.
Thank you, Gunslinger ☢.
Gunslinger ☢  [author] 9 May, 2024 @ 5:54pm 
Anyone can make edits to my stuff, im not a stickler against that sort of thing, im personally fine with it as it is though functionally speaking so if you wanna make your own version public or keep it private its up to you.
TotalChaos 9 May, 2024 @ 5:38pm 
Well, in that case, would you mind if I went in and made a few modifications to see if I can fix the brightness issue and then send my version to you for review, or would you rather I don't mess with your addon like that? If you don't want me to, that's perfectly fine. I might just keep it as a personal edit, then.
If you can't tell, the brightness thing really bothers me.
Gunslinger ☢  [author] 9 May, 2024 @ 5:34pm 
That really is just how the shader works dude, it refracts lighting both from map lighting and from projected textures like the flashlight, this can drastically change the brightness of them.

the only sort of bugged ones are the ichthyosaur as its eyes arent set up correctly which is a model issue and the original eyes didnt fare much better.
TotalChaos 9 May, 2024 @ 5:30pm 
That is definitely not just natural lighting.

I took a look at some of the textures in the addon, and I think I partially understand now. Your textures are darker than how they look in-game. That is very, very odd.
Your VMTs seem fine. Then again, I'm not as familiar with the EyeRefract shader as I am with something like VertexLitGeneric, so there might be something missing.
Gunslinger ☢  [author] 9 May, 2024 @ 5:18pm 
...thats just natural lighting.

I used the L4D eye as a base and added the HL2 pupils onto them, its not the same as the HL2 eyeball texture if thats what you mean, i seriously dont understand whats the problem otherwise
TotalChaos 9 May, 2024 @ 5:15pm 
I get it, they're different shaders, but that's not my point.
TotalChaos 9 May, 2024 @ 5:15pm 
Ok, but that doesn't fully explain why it's so much brighter in comparison.
In the first screenshot, her left eye is visibly darker than her right eye, to the point where her right eye almost looks like it's glowing. What's up with that?
Gunslinger ☢  [author] 9 May, 2024 @ 5:08pm 
Oh you mean that, thats because i went in too close with the flashlight on in the previews
TotalChaos 9 May, 2024 @ 5:04pm 
No offense, but I literally ported some old TF2 eye textures to the new eye shader one time, and they are the exact same brightness as the old textures. Nothing changed. Believe me, I checked.
Are you sure your textures are the same brightness as the old ones? They're very clearly different even in the screenshots.
Gunslinger ☢  [author] 9 May, 2024 @ 5:01pm 
Sadly you cannot really edit glint brightness or overall brightness of refracted eyes, blame Valve for that one.

The shader is technically unfinished but they still included it anyway, refract eyes were also supposed to have dynamic pupil dilation but thats broken and while it technically supports emissiveblend its also unfinished and does not function correctly.
TotalChaos 9 May, 2024 @ 1:33pm 
I like this addon, it looks nice. However, there's one thing I don't quite understand.
Why are the eyes so bright? To my knowledge, the newer eye shader doesn't require textures for the old one to be any brighter. They work just fine after a few edits.
Gunslinger ☢  [author] 22 Mar, 2024 @ 9:08am 
I didnt include vmts for the extra eyes, only the eyes that are used by HL2 models.
Vortex 21 Mar, 2024 @ 2:07pm 
hello gunslinger, trying to find the texture for the extra eye that appears to be blue and glowing, but the material doesn't seem to exist/ function in game (Preview is in your gif) wondering if it's some sort of vmt issue
Gunslinger ☢  [author] 14 Feb, 2024 @ 4:36pm 
Np
Saturn's Ring 14 Feb, 2024 @ 4:35pm 
Yup, doing a wipe and reinstall fixed it. Thank you!
Gunslinger ☢  [author] 14 Feb, 2024 @ 4:07pm 
If i recall, EyeRefract is broken on DX8 and can cause all eyes to go missing texture.

but i added fallbacks to all the eyes so it will use something similar to the older shader, so idk whats up with that, last i checked it worked fine on my end, however, try to uninstall the mod, completely remove the addon, then reinstall, and tell me if you still have that issue.
Saturn's Ring 14 Feb, 2024 @ 4:03pm 
After moving to a new PC and reinstalling the game & my old addons including this, most eyes are now missing textures. Should I reinstall the mod manually, what could be broken on my end? I wasn't getting this on my old computer, so I wanna make sure it's not this addon since it's my only eye affecting one.
weedshot 13 Jan, 2024 @ 1:08pm 
nom
Gunslinger ☢  [author] 31 Dec, 2023 @ 6:27am 
could be duped eye vmts with vanilla settings in one of your addons.
[as] Wendigeaux 31 Dec, 2023 @ 1:52am 
ay, I dunno if it's just something with me but the male eyes aren't replaced.
osloyob88 29 Dec, 2023 @ 4:52am 
A10 aryan stare
s-67 14 Dec, 2023 @ 4:06am 
blue eye people when:
Salty™ 13 Dec, 2023 @ 3:32pm 
lightskin stare
Legoleader139 12 Dec, 2023 @ 3:30pm 
How can mirrors be real if our eyes aren't real?
... Jokes aside, great work :steamthumbsup:
Lazarus 12 Dec, 2023 @ 12:11pm 
Rename this to "Zuckerberg's kin"
󠀡󠀡 11 Dec, 2023 @ 7:07pm 
lightskin stare
Gruta Patala 11 Dec, 2023 @ 6:43pm 
Are you able to accept any commissions?
Silly Driver 11 Dec, 2023 @ 1:19pm 
a10 mod
NFL Youngboy 10 Dec, 2023 @ 5:26pm 
mogger
Xx>₱ÙπIßH3D.X.M4π<xX 10 Dec, 2023 @ 12:38pm 
wear brown eye contacts. NOW.
swei_la98 10 Dec, 2023 @ 12:28am 
lighstkin stare
Gunslinger ☢  [author] 9 Dec, 2023 @ 7:49pm 
Id rather not, the whole idea is that its supposed to be like the original eye size, the enhanced citizens refracting eyes (which is a very good comparison) look like lizard people to me, and how its permeated for so long across many models that are loosely tied to it when that is just...not how eyes work.
MARK2580 9 Dec, 2023 @ 7:32pm 
then recompile all the models, otherwise, as they wrote below, these are some kind of lizard people, the pupil should be smaller, although I seemed to be able to reduce the pupil only through vmt, once upon a time about 5 years ago
Gunslinger ☢  [author] 9 Dec, 2023 @ 4:53pm 
Oh yeah and you also cannot control the strength of the glint either, blame Valve.
Gunslinger ☢  [author] 9 Dec, 2023 @ 4:50pm 
I increased the size of the center to emulate how the eyes look in the "eyes" shader, and i already lowered the glossiness, default is 0.5 and all eyes are on 0.3.