• Projecting pattern to object with light
    12 replies, posted
So basically I want to make a lighting which projects patterns to an object. I don't know how to say it in words, I'll give you picture instead. [IMG]http://www.adweek.com/files/adfreak/bathroom.jpg[/IMG] How can I achieve that kind of lighting in Source?
I think what you need is an env_projectedtexture entity. [url]https://developer.valvesoftware.com/wiki/Env_projectedtexture[/url]
[IMG]https://developer.valvesoftware.com/w/images/b/b0/Projected_texture.jpg[/IMG] Cool, this is some type of lighting that I want to achieve for my school project. Glad to know it's possible.
[QUOTE=Ran_TH;35284496] Cool, this is some type of lighting that I want to achieve for my school project. Glad to know it's possible.[/QUOTE] Just keep in mind that you can only have one env_projectedtexture on at a time, and that includes the player's flashlight (otherwise you'll get glitches with the shadows).
[QUOTE=cwook;35284671]Just keep in mind that you can only have one env_projectedtexture on at a time, and that includes the player's flashlight (otherwise you'll get glitches with the shadows).[/QUOTE] Helpful tips, thank you! By the way, does Source 2009 Hammer tools support this entity? Or I should use Portal 2 authoring Hammer?
Yeah, Source 2009 works, so does Portal 2.
Thanks for the input guys. Really appreciate it. I just realized Garry's Mod does not support dynamic shadow on my laptop. I've read Shadow Details need to set to "High" to make env_projectedtexture to work, but I only have "Low" and "Medium" in Shadow settings dialogue. It's weird that the engine capped my GPU capability that way, while I can see my laptop can support Portal 2 dynamic shadows. Seems like I need to use Portal 2 engine :/ Note: I'm using Intel GMA 4500MHD. Yeah I know crappy card :P
[QUOTE=Ran_TH;35290033]Thanks for the input guys. Really appreciate it. I just realized Garry's Mod does not support dynamic shadow on my laptop. I've read Shadow Details need to set to "High" to make env_projectedtexture to work, but I only have "Low" and "Medium" in Shadow settings dialogue. It's weird that the engine capped my GPU capability that way, while I can see my laptop can support Portal 2 dynamic shadows. Seems like I need to use Portal 2 engine :/ Note: I'm using Intel GMA 4500MHD. Yeah I know crappy card :P[/QUOTE] You could try to manually edit the cfg file youself. I think also the gpu options can unlock some extra stuff. I was limited to horribly low textures but then I changed the graphics card settings to allow higher res.
[QUOTE=mdeceiver79;35290251]You could try to manually edit the cfg file youself. I think also the gpu options can unlock some extra stuff. I was limited to horribly low textures but then I changed the graphics card settings to allow higher res.[/QUOTE] I tried every commands possible that has something to do with shadows, like r_shadowrenderedtotexture but no luck, dynamic shadow still not rendered in Gmod nor any Source 2009 game. Tweaking my GPU options to maxed doesn't help either. [IMG]http://puu.sh/mlm6[/IMG] However it does works with Portal 2 engine. [IMG]http://puu.sh/mllG[/IMG]
Source pretty much hates onboard intel chips. In fact most games and probably most compat testers hate onboard intels.
[QUOTE=IronPhoenix;35291363]Source pretty much hates onboard intel chips. In fact most games and probably most compat testers hate onboard intels.[/QUOTE] Source still runs amazingly though comparing to other engine. Yep, this is my fate, with this Intel chips.
Well I need some assistance. I attempted to create my own texture to be projected by the light, but seems I missing something here. [IMG]http://puu.sh/msoW[/IMG] Probably it's my VMT/VTF config, I would be glad if anyone can help :) EDIT: Oh, finally just figured that out by some change in VMT settings and VMT format.
Did you use $alphatest instead of $transcluent?
Sorry, you need to Log In to post a reply to this thread.