Prop Shadow Upgrades

Modelling, Textures, Animating and other general engine asset topics.

Prop Shadow Upgrades

Postby Epifire on Sun Mar 17, 2013 5:07 pm

Since I have been working to get more lighting enhancements into the Ravenholm mod I was recalling how I don't think props can receive casted shadows from other props/brushes. I am wondering if it is possible to enable shadows onto prop surfaces or not.

I would think it would be a new shader or a complex new lighting adaptation but just figured it was worth asking anyway.
Image
User avatar
Epifire
Senior Member
Senior Member
 
Joined: Fri Mar 25, 2011 8:54 pm
Location: Minnesota, where you're froze 24/7

Re: Prop Shadow Upgrades

Postby Armageddon on Sun Mar 17, 2013 5:10 pm

No, there's vertex lit but that's awful, just compile with -staticproppoly and -textureshadow.

You should really be posting these in the simple question thread.
User avatar
Armageddon
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Sun Dec 14, 2008 5:53 am

Re: Prop Shadow Upgrades

Postby Epifire on Sun Mar 17, 2013 5:56 pm

If I wanted to post this in the simple questions I would have. I already know the extra compile options but that wasn't what I was asking. I want to know whether or not there is a possibility to construct a new shader/lighting option that can do just what I am talking about.
Image
User avatar
Epifire
Senior Member
Senior Member
 
Joined: Fri Mar 25, 2011 8:54 pm
Location: Minnesota, where you're froze 24/7

Re: Prop Shadow Upgrades

Postby Armageddon on Sun Mar 17, 2013 6:18 pm

Armageddon wrote:No

There's is the deferred renderer which I'm sure you know about, it's really broken on ATi cards and it's not very practical, no radiosity, doesn't look good.
User avatar
Armageddon
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Sun Dec 14, 2008 5:53 am

Re: Prop Shadow Upgrades

Postby Epifire on Sun Mar 17, 2013 6:23 pm

Theoretically if there was a shader that could interact with the lighting pass you could make a alpha channeled version of the separate casted shadow while still being able to see the effects of the radiosity and shading effects beneath that extra layer.

Now that is just in theory but between that and actually making a system that could do that is a whole different story.
Image
User avatar
Epifire
Senior Member
Senior Member
 
Joined: Fri Mar 25, 2011 8:54 pm
Location: Minnesota, where you're froze 24/7

Re: Prop Shadow Upgrades

Postby Armageddon on Sun Mar 17, 2013 6:35 pm

I don't think you understand shaders.
User avatar
Armageddon
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Sun Dec 14, 2008 5:53 am

Re: Prop Shadow Upgrades

Postby Epifire on Sun Mar 17, 2013 6:38 pm

No I don't pretend to that's why I ask questions, generalize an idea and then hear what people have to say about them. You got something to say about shaders then I would like to hear it, but otherwise I would like to actually get an opinion from some one who does.
Image
User avatar
Epifire
Senior Member
Senior Member
 
Joined: Fri Mar 25, 2011 8:54 pm
Location: Minnesota, where you're froze 24/7

Re: Prop Shadow Upgrades

Postby DonPunch on Mon Mar 18, 2013 1:34 am

You can do that in udk
DonPunch
Been Here A While
Been Here A While
 
Joined: Mon Apr 12, 2010 11:23 pm

Re: Prop Shadow Upgrades

Postby Gary on Mon Mar 18, 2013 3:04 am

The only enhancement I've given these type of shadows(dynamic prop/RTT) is higher resolution and disabled the use of prop's shitty shadow model for rendering. I've tried a lot to get other props to receive these shadows. Self shadowing would be awesome too. It's like that in Halo3+, dead rising, and unreal engine games. Since it looks good and is pretty cheap. Oh, and it can look better than shadow mapping self shadowing most of the time.
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: Prop Shadow Upgrades

Postby dark0r on Tue Mar 19, 2013 4:15 pm

Gary wrote:The only enhancement I've given these type of shadows(dynamic prop/RTT) is higher resolution and disabled the use of prop's shitty shadow model for rendering. I've tried a lot to get other props to receive these shadows. Self shadowing would be awesome too. It's like that in Halo3+, dead rising, and unreal engine games. Since it looks good and is pretty cheap. Oh, and it can look better than shadow mapping self shadowing most of the time.

There is actually code in the game client that disables renderable-on-renderable shadowing due to performance reasons. Disabling this check doesn't seem to have any effect unfortunately (or maybe I'm doing something wrong, because from what I saw, there's none in the engine). It'd be useful to dig around the shadow manager.
dark0r
Been Here A While
Been Here A While
 
Joined: Sat Mar 25, 2006 10:16 am
Location: de_hell

Re: Prop Shadow Upgrades

Postby Gary on Tue Mar 19, 2013 5:40 pm

Yeah, I tried doing it by disabling those checks too. Had no affect.

Would probably be best to do testing on ASW, since I think it has a broken option to enable this. So there might be other modifications already done in order to do the "shadow" receiving.


And these shadows are basically a type of decal right? Just dynamically drawn in code. It would be cool to get these shadows to HaloReach /UE3 quality. Especially since they would be rather cheap, sometimes looks better than shadow mapping, requires no special light placements, and they support translucency(which almost no game has with shadow mapping ).
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: Prop Shadow Upgrades

Postby Epifire on Tue Mar 19, 2013 5:50 pm

I think those may be in place in the case that there was any code to enable such features. My guess just from basic knowledge is that there is extra code needed to drive the actual function and that the client lines were added to safe guard against it. That's just my speculation but if the ASW code has something that could help us out I would be interested in hearing about it.
Image
User avatar
Epifire
Senior Member
Senior Member
 
Joined: Fri Mar 25, 2011 8:54 pm
Location: Minnesota, where you're froze 24/7

Re: Prop Shadow Upgrades

Postby Gary on Tue Mar 19, 2013 6:15 pm

The checks might be in place just for performance reasons. Like, so models don't get marked as potential receivers. Regardless of whether or not models can actually receive them.
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Return to Art Creation

Who is online

Users browsing this forum: No registered users