Hello everyone!
I'm fairly new to modeling and working with source models. There is a game I am trying to import a model from, which i have spent at least a few hours of the day working on. I am just about done, but I seem to be having an issue with the eye textures...
[IMG]http://s12.postimg.org/a8d15q3y5/lmaowhy.png[/IMG]
It seems to pull all the texture information correctly, but I don't see in the texture file how it knows where to place the Iris.
Here is the texture vmt:
[CODE]"EyeRefract"
{
"$Iris" "models\lynn\lynn_eyeball"
"$AmbientOcclTexture" "models\lynn\lynn_eye_extra"
"$CorneaTexture" "models\lynn\lynn_eye_cornea"
"$Envmap" "models\lynn\lynn_eye_reflection_cubemap"
// "$basetexture" "models\lynn\lynn_pupil_l01"
"$EyeballRadius" "0.85" // Default 0.5
"$AmbientOcclColor" "[0.4 0.4 0.4]" // Default 0.33, 0.33, 0.33
"$Dilation" "0.6" // Default 0.5
"$ParallaxStrength" "0.25" // Default 0.25
"$CorneaBumpStrength" "1.0" // Default 1.0
"$Glossiness" "0"
"$halflambert" "1"
"$nodecal" "1"
// These effects are only available in ps.2.0b and later
"$RaytraceSphere" "1" // Default 1 - Enables raytracing in the pixel shader to make the eyeball look round
"$SphereTexkillCombo" "1" // Default 1 - Enables killing pixels that don't ray-intersect the sphere
}[/CODE]
And here is my eye settings from my qc file:
[CODE]$Model "face" "pc_lynn_face02_reference.smd" {
eyeball "eye_right" "ValveBiped.Bip01_Head1" -1.238016 -1.909989 68.223989 "lynn_eyeball_r01" 1 2 "iris_unused" 0.71
eyeball "eye_left" "ValveBiped.Bip01_Head1" 1.237984 -1.909988 68.223991 "lynn_eyeball_l01" 1 -2 "iris_unused" 0.71
$Include "pc_lynn_face01_flex.qci"
mouth 0 "mouth" "ValveBiped.Bip01_Head1" 0 1 0
}[/CODE]
Ive tried multiple things but I just keep getting different skews of the same issue. Is there anyone that can help clear up how Eye textures work on a source model?
Any tips or advice would be helpful. Thank you!
The eye textures gets its size and location from the model's qc.
[QUOTE=Midkey;50039046]The eye textures gets its size and location from the model's qc.[/QUOTE]
I added the qc model's eye info, but I do not know which part of it designates the size of the textures. I see the location coordinates, but I do not know about the Iris..
The numbers just after "iris_unused" should be the ones to control the size.
Sorry, you need to Log In to post a reply to this thread.