hi!
i was working on a flashlight source a time ago and i discovered that tformpoint helps a lot. it helps me to project the flashlight texture.
the only problem is that the texture is projected parallel and not perspectively. parallel in this case means, that the flashlight spot will appear with the same size in every possible distance!!!
it's like the flashlight has a diameter of 2 meters and would project like a laser!!!
is there a way to project this whole thing perspectively?
http://dev-ch.de/upload/files/Devils%20Child/Flashlight.zip (786.82 KB)
if you don't find out, you still have my source code which works almost well Smiley
thanks for ANY help!!:)
bye
i was working on a flashlight source a time ago and i discovered that tformpoint helps a lot. it helps me to project the flashlight texture.
the only problem is that the texture is projected parallel and not perspectively. parallel in this case means, that the flashlight spot will appear with the same size in every possible distance!!!
it's like the flashlight has a diameter of 2 meters and would project like a laser!!!
is there a way to project this whole thing perspectively?
http://dev-ch.de/upload/files/Devils%20Child/Flashlight.zip (786.82 KB)
if you don't find out, you still have my source code which works almost well Smiley
thanks for ANY help!!:)
bye