There's not much support for projective textures in hl2, from what I
understand it's an optimization, because checking where to project the
texture is more expensive than simply projecting it both ways (i'm not 100%
sure why that is, something to do with the depth buffer I think) but someone
correct me if I'm wrong.



From: Greg Houston <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: [hlcoders] Flashlight oddity
Date: Wed, 26 Oct 2005 21:03:27 -0400

--
[ Picked text/plain from multipart/alternative ]
I noticed an oddity involving the flashlight. I've been working on a
flashlight weapon similar to the one in Doom 3 for a mod that I'm a part
of.
It's an actual flashlight which can be swung at enemies like a club. So far
I've had no trouble attaching the effect to the viewmodel and getting the
baton behavior smoothed out, but I'm having a problem with the flashlight
beam itself. When the player swings the flashlight the beam goes down and
out of sight along with the model just as it should. However, midway
through
the animation another beam appears to project from the back end of the
flashlight model onto whatever happens to be in front of the player. It's a
very noticeable glitch, especially in smaller areas. I took a look around
and found that my flashlight effect was not the only one to act in this
manner. The airboat does the exact same thing when the headlamp is on, and
the dynamic lamp in garrys mod does it as well. I've linked to a garrys mod
screen demonstrating the effect (it's exactly the same problem I'm having,
but for reasons of clarity I captured it in there). Any ideas? Seeing the
same problem pop up in the standard HL2 material and in garrys mod has
slightly worrying implications. I'd really appreciate any help.

Screenshot (the beam casting on the floor is the one in question):
http://img489.imageshack.us/img489/9231/gmconstruct00018gi.jpg

Sincerely,
Greg Houston
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has
to offer.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
 Start enjoying all the benefits of MSNĀ® Premium right now and get the
first two months FREE*.


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to