• Grate shadows
    24 replies, posted
So, I'm wanting to have grates casting shadows like this: [url]http://www.blackmesasource.com/media/c1a4_release11_001.jpg[/url] (Does Facepunch not have image embedding?) So, I tried just putting a brush with a grate texture infront, but it has no effect at all. Any ideas on how it was done in the screenshot above?
My guess is block light brushes.
[QUOTE=wootmonster;23305962]My guess is block light brushes.[/QUOTE] Correct me if I'm wrong, but didn't EP2 bring the feature of shining light through transparent textures?
But that would block all light, wouldn't it? I'm trying to get the pattern from the grate, like in the screenshot.
ep2 engine supports this (every game in 2009 hammer)
Compile VRAD with -textureshadows and lower the lightmap scale on the wall and ceiling to something like 4 or so. [editline]12:55PM[/editline] [QUOTE=Tennisball;23305528]Does Facepunch not have image embedding?[/QUOTE] [noparse][img][/img][/noparse]
Thanks for the quick replays. I am using 2009 engine, Firegod, by compile VRAD, do you mean set RAD to normal? or is Vrad a different compiler? Thanks
There's a text box at the bottom of the default compile window: [IMG]http://i31.tinypic.com/hvsaz6.jpg[/IMG] Type "-TextureShadows" into the Additional Game Parameters box.
Oh, I thought with him saying VRAD, I had to do somthing else. I tried adding "-TextureShadows" But it still looks like this:[url]http://i31.tinypic.com/1zovp51.jpg[/url] As you can see, it just ignores the grate texture, what am I doing wrong?
Did you lower the lightmapscale on the ground?
[QUOTE=Tennisball;23305528] (Does Facepunch not have image embedding?)[/QUOTE] [noparse][img]http://www.blackmesasource.com/media/c1a4_release11_001.jpg[/img][/noparse] [img]http://www.blackmesasource.com/media/c1a4_release11_001.jpg[/img] And I believe it's made with env_projectedtexture, don't ask me how as I have never worked with it.
[QUOTE=Tennisball;23305528][img_thumb]http://www.blackmesasource.com/media/c1a4_release11_001.jpg[/img_thumb][/QUOTE] Boy those shadows sure are.. great.
[QUOTE=Zyx;23310372]And I believe it's made with env_projectedtexture, don't ask me how as I have never worked with it.[/QUOTE] They look too sharp to be env_projectedtexture. Though you never know.
[QUOTE=Firegod522;23310595]They look too sharp to be env_projectedtexture. Though you never know.[/QUOTE] Example of env_projectedtexture: [img]http://developer.valvesoftware.com/w/images/thumb/b/b0/Projected_texture.jpg/800px-Projected_texture.jpg[/img] Looks quite the same sharpness as in OP.. If not more?
I know what env_projectedtexture looks like. Usually they are really gradient. [img_thumb]http://img192.imageshack.us/img192/1466/hunterlight0000.jpg[/img_thumb]
[QUOTE=Firegod522;23310314]Did you lower the lightmapscale on the ground?[/QUOTE] Yeah he did, you can tell from the shadow crispness from the walls.
Oh wait, -textureshadows only work for props. :smith:
[QUOTE=Firegod522;23311124]Oh wait, -textureshadows only work for props. :smith:[/QUOTE] God dammit. Guess it is env_projectedtextures.. Or just a lot of block light brushes?
Or it could have an alpha channel to the texture, I'm gonna run a test real quick. [editline]04:56PM[/editline] Its a model.
Right, I've done projected textures, problem is, it does the same to my flashlight, anyway to fix this?
[QUOTE=Tennisball;23328614]Right, I've done projected textures, problem is, it does the same to my flashlight, anyway to fix this?[/QUOTE] Nope, it's an engine limitation.
You could use propper to make it a model?
Yes. [QUOTE=Tennisball;23328614]Right, I've done projected textures, problem is, it does the same to my flashlight, anyway to fix this?[/QUOTE] [url]http://developer.valvesoftware.com/wiki/Env_projectedtexture/fixes#Enabling_multiple_shadow_maps[/url]
It's env_projectedtexture, no doubt, so try and mess with it. It can create nice effects, and I posted in the Pimpage thread not to long ago, and I used an env_projectedtexture. The results: [URL=http://img62.imageshack.us/i/metro0002.jpg/][IMG]http://img62.imageshack.us/img62/1875/metro0002.th.jpg[/IMG][/URL]
Its a prop with -textureshadows.
Sorry, you need to Log In to post a reply to this thread.