World geometry not casting shadows from projected texture
Quote from El Farmerino on June 30, 2013, 11:40 pmSee the below screenshots - neither my regular world geometry nor func_details are casting shadows from my projected texture; tools_blocklight doesn't do anything either. I've used them in the past but I can't remember ever having this problem; is there something I'm missing?
Texture appearing where it should be blocked by observation room wall (also notice extruding panel doesn't produce a shadow either):
http://steamcommunity.com/sharedfiles/filedetails/?id=156850440func_detail (and prop_button) failing to produce a shadow:
http://steamcommunity.com/sharedfiles/filedetails/?id=156850419
See the below screenshots - neither my regular world geometry nor func_details are casting shadows from my projected texture; tools_blocklight doesn't do anything either. I've used them in the past but I can't remember ever having this problem; is there something I'm missing?
Texture appearing where it should be blocked by observation room wall (also notice extruding panel doesn't produce a shadow either):
http://steamcommunity.com/sharedfiles/filedetails/?id=156850440
func_detail (and prop_button) failing to produce a shadow:
http://steamcommunity.com/sharedfiles/filedetails/?id=156850419
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------

Quote from ChickenMobile on July 1, 2013, 12:18 amWhat does your projected texture's properties and flags look like?
Make sure to set Enable shadows to yes, light only target to no, Simple projection to no and Light World to yes.
What does your projected texture's properties and flags look like?
Make sure to set Enable shadows to yes, light only target to no, Simple projection to no and Light World to yes.

Quote from josepezdj on July 1, 2013, 3:26 amHey El, since I've got the map, I decompiled it and checked out the settings for the env_projectedtexture and they're all fine (it's not "Enabled" but obviously it's intentional to fire an output to turn it on as soon as the player leaves the elevator shaft). I also checked the window frame shadows (it's set to cast shadows), and the glass window prop (which is set to don't cast shadows)... so everything is correct.
My only guess is the compile, man... Did you run a FULL compile, a Default, Fast....? I'd suggest you to revise the compile options to see if you ticked VRAD mode "Fast" or something, or check into the Expert compile window the line $light_exe in the case it's not ticked.
I'll try a compile myself later at home, ok?
Hey El, since I've got the map, I decompiled it and checked out the settings for the env_projectedtexture and they're all fine (it's not "Enabled" but obviously it's intentional to fire an output to turn it on as soon as the player leaves the elevator shaft). I also checked the window frame shadows (it's set to cast shadows), and the glass window prop (which is set to don't cast shadows)... so everything is correct.
My only guess is the compile, man... Did you run a FULL compile, a Default, Fast....? I'd suggest you to revise the compile options to see if you ticked VRAD mode "Fast" or something, or check into the Expert compile window the line $light_exe in the case it's not ticked.
I'll try a compile myself later at home, ok?
Quote from El Farmerino on July 1, 2013, 7:10 am@Chicken
I already have all those settings (and I previously tried pretty much every combination of them in attempts to fix this issue).
@jose,
Doing a full compile with everything ticked. Also, the version you have is a placeholder with the PTI observation room chucked in there; I'm now in the process of replacing it with my own, but I'm having this problem.
Anyway, today I tried compiling again without changing anything, and the problem was semi-fixed - see below:
http://steamcommunity.com/sharedfiles/filedetails/?id=156909900Still have issues with the floor being lit when it shouldn't, but otherwise it's recognising the walls of the observation chamber now. Just waiting for my Hammer files to validate to see if I have any problem there...
EDIT: Nope, validation didn't do anything; have played with it for a while more but I still have the projected texture lighting up the entire floor on that side instead of just the bits it can see, as you can tell from the above screenshot.
EDIT 2: Alright, this is a whole new level of bullshit:
http://steamcommunity.com/sharedfiles/filedetails/?id=156949036It seems every floor texture works fine with the projection except for the one I'm using, even though I've used this exact texture in other maps with no issue.
Maybe this is Hammer's way of telling me to try out a new style. Still, I've gotta say - fuck you Hammer.
@Chicken
I already have all those settings (and I previously tried pretty much every combination of them in attempts to fix this issue).
@jose,
Doing a full compile with everything ticked. Also, the version you have is a placeholder with the PTI observation room chucked in there; I'm now in the process of replacing it with my own, but I'm having this problem.
Anyway, today I tried compiling again without changing anything, and the problem was semi-fixed - see below:
http://steamcommunity.com/sharedfiles/filedetails/?id=156909900
Still have issues with the floor being lit when it shouldn't, but otherwise it's recognising the walls of the observation chamber now. Just waiting for my Hammer files to validate to see if I have any problem there...
EDIT: Nope, validation didn't do anything; have played with it for a while more but I still have the projected texture lighting up the entire floor on that side instead of just the bits it can see, as you can tell from the above screenshot.
EDIT 2: Alright, this is a whole new level of bullshit:
http://steamcommunity.com/sharedfiles/filedetails/?id=156949036
It seems every floor texture works fine with the projection except for the one I'm using, even though I've used this exact texture in other maps with no issue.
Maybe this is Hammer's way of telling me to try out a new style. Still, I've gotta say - fuck you Hammer.
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------
Quote from HMW on July 2, 2013, 11:11 amArea you sure you didn't use a vertex texture by accident?
And make sure that the nearZ and farZ of the env_projectedtexture are set wide enough so they cover everything that the env_projectedtexture illuminates. (If you copied the PTI one, this shouldn't be a problem as it is set very wide already.)
Area you sure you didn't use a vertex texture by accident?
And make sure that the nearZ and farZ of the env_projectedtexture are set wide enough so they cover everything that the env_projectedtexture illuminates. (If you copied the PTI one, this shouldn't be a problem as it is set very wide already.)
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic

Quote from josepezdj on July 2, 2013, 11:39 amEl, there is a new guess I can think of: can you please check out if all those floor textures are Aligned upon the "World" (instead of upon the "Face")?
Also:
El Farmerino wrote:EDIT 2: Alright, this is a whole new level of bullshit:
El, there is a new guess I can think of: can you please check out if all those floor textures are Aligned upon the "World" (instead of upon the "Face")?
Also:
Quote from El Farmerino on July 2, 2013, 12:27 pm@HMW:
Definitely not a vertex texture - that's the first thing I checked. And the projected texture is new (I only had the PTI one in there while I was getting the layout down and everything) but I did look at the FarZ settings (besides which, it's correctly lighting other brushes which are further away than this one).
@jose:
All the textures in my map are ticked for both 'World' and 'Face', which seems to be the default - to be perfectly honest, I never found out what those even mean. The other unaffected brushes have the same settings here, though.
Anyway, I've already thrown myself into reworking it as a destroyed chamber as I took all these problems as a sign to challenge myself (besides which, if I'm going to spend hours fiddling around in Hammer I'd like to have something to show for it). As such it's no longer a pressing concern for me any more, but thanks for all your help guys. Still, if anyone does manage to shed any light on this it'd be good for future reference.
@HMW:
Definitely not a vertex texture - that's the first thing I checked. And the projected texture is new (I only had the PTI one in there while I was getting the layout down and everything) but I did look at the FarZ settings (besides which, it's correctly lighting other brushes which are further away than this one).
@jose:
All the textures in my map are ticked for both 'World' and 'Face', which seems to be the default - to be perfectly honest, I never found out what those even mean. The other unaffected brushes have the same settings here, though.
Anyway, I've already thrown myself into reworking it as a destroyed chamber as I took all these problems as a sign to challenge myself (besides which, if I'm going to spend hours fiddling around in Hammer I'd like to have something to show for it). As such it's no longer a pressing concern for me any more, but thanks for all your help guys. Still, if anyone does manage to shed any light on this it'd be good for future reference.
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------
Quote from FelixGriffin on July 2, 2013, 1:58 pmEl Farmerino wrote:Still, if anyone does manage to shed any light on this it'd be good for future reference.I see what you did there.
I see what you did there.
Quote from El Farmerino on July 3, 2013, 1:41 amFelixGriffin wrote:El Farmerino wrote:Still, if anyone does manage to shed any light on this it'd be good for future reference.I see what you did there.
Actually that wasn't intentional, though I can see how you'd project that assumption on what I wrote.
I see what you did there.
Actually that wasn't intentional, though I can see how you'd project that assumption on what I wrote.
My maps: Double Bill / Jam / Oval Window / Gymnasium / Gymnasium Part 2 / Minimalism (collection) / Resolution
All feedback welcome!
---------------------------

Quote from ChickenMobile on July 3, 2013, 6:58 amEl Farmerino wrote:Still, if anyone does manage to shed any light on this it'd be good for future reference.