Talk:UnlitGeneric
Flashlight and detail props
Here's the deal: I'm making a map and I need to spawn a lot of low-poly models randomly on a material. I'm basically just using the detail props spawning via a .vbsp file. Now, the problem is that these models must be not-solid AND unlit. Not-solid, OK, not a problem, it's little things that don't need to be solid. Unlit, no problem, same reason, little things... a rough lighting is OK. Now, a problem appears. If I try to light the detail props using the flashlight, nothing happens. There's still pitch black (the ambient color). I tried a lot of "unofficial/unsupported/undocumented" shader parameters, like $vertexcolor, $vertexalpha, $receiveflashlight, $halflambert, and so on (found in a vast quantity of valve's vmt), but nothing worked out very well. So, if someone had an idea, I'd be really greatfull. --NykO18 03:30, 20 Aug 2008 (PDT)