Talk:UnlitGeneric: Difference between revisions
TomEdwards (talk | contribs) No edit summary |
|||
Line 1: | Line 1: | ||
== Flashlight and detail props == | == 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. By the way, I'm talking about Episode 2 --[[User:NykO18|NykO18]] 03:30, 20 Aug 2008 (PDT) | 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. By the way, I'm talking about Episode 2 --[[User:NykO18|NykO18]] 03:30, 20 Aug 2008 (PDT) | ||
:Unlit is unlit, I'm afraid. --[[user:TomEdwards|TomEdwards]] 10:38, 20 Aug 2008 (PDT) |
Revision as of 10:38, 20 August 2008
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. By the way, I'm talking about Episode 2 --NykO18 03:30, 20 Aug 2008 (PDT)
- Unlit is unlit, I'm afraid. --TomEdwards 10:38, 20 Aug 2008 (PDT)