• Lighting error with SDK
    11 replies, posted
Any time I try to import a model I get an weird lightwrap error or something anyways here is an example of what I mean. [IMG]http://dl.dropbox.com/u/63772434/stupid%20error.png[/IMG] If anyone here know what I should do to fix that I would like to know.
do you mean over used phong? turn on normal mapping tick the box see if it fixes it
you need to turn on normal mapping
[QUOTE=MaxOfS2D;35328019]you need to turn on normal mapping[/QUOTE] I did but it is still acting that same way with the model...what should I do now? Is it the way I am importing the textures?
[QUOTE=tinak;35335833]I did but it is still acting that same way with the model...what should I do now? Is it the way I am importing the textures?[/QUOTE] Find the VMT file and remove everything except the basetexture
[QUOTE=cra0kalo;35336890]Find the VMT file and remove everything except the basetexture[/QUOTE] Oddly still acting that same way...hummm could it be how I exported the model from blender?
In your QC Hmm this might not be the problem but what's your illumination position ?
[QUOTE=cra0kalo;35337050]In your QC Hmm this might not be the problem but what's your illumination position ?[/QUOTE] I did delete all the things in the VMT but the base texture. There is not illumination position in it anywhere or phong or rimlight.
[QUOTE=tinak;35337088]I did delete all the things in the VMT but the base texture. There is not illumination position in it anywhere or phong or rimlight.[/QUOTE] QC file not VMT
[QUOTE=cra0kalo;35337123]QC file not VMT[/QUOTE] *facedesk* my bad. [editline]29th March 2012[/editline] [QUOTE=cra0kalo;35337123]QC file not VMT[/QUOTE] $illumposition 1.510 0.000 -2.087 thats it
Hmm try messing with that if it doesn't work go to sourcesdk_content folder in steamapps then tf then players and use the QC from there with your model.
[QUOTE=cra0kalo;35337200]Hmm try messing with that if it doesn't work go to sourcesdk_content folder in steamapps then tf then players and use the QC from there with your model.[/QUOTE] Ok so I try to mess around with that still got the same results ok so hes the QC for it $modelname "player/items/soldier/0x043d22ba/bandana/bandana.mdl" $model "body" "bandana.dmx.smd" $cdmaterials "" $hboxset "default" $hbox 0 "bip_head" -3.671 -2.360 -7.169 3.671 6.520 4.128 // Model uses material "models/player/items/soldier/0x043d22ba/bandana/bandana_secondary_red.vmt" $surfaceprop "metal" $sequence idle "idle" fps 30.00 $collisionmodel "phymodel.smd" { $mass 0.0 $inertia 1.00 $damping 0.00 $rotdamping 0.00 }
Sorry, you need to Log In to post a reply to this thread.