Stain glass windows

Published October 08, 2013
Advertisement
A month or two ago, I drew some stain glass windows for Of Stranger Flames. Here's how they look:
01d8.png

15g7.png

qs64.png

([size=2]These are blended together in an art program - this is not an actual in-game screenshot)
10 likes 11 comments

Comments

FLeBlanc

That top one is awesome, seriously.

October 08, 2013 06:47 PM
Servant of the Lord

Thanks! happy.png

October 08, 2013 07:01 PM
Bacterius

Wow, these look amazing SOTL! :)

October 08, 2013 08:05 PM
Shane C
I know it's asking an awful lot, but see if you can add shaders to the light reflections on the window, to make them brighter and blurrier, also typically known as glow. Or you can do the same thing in Photoshop. It has been awhile since I have seen a light reflection so it might look better the normal way, though.
October 08, 2013 11:29 PM
Servant of the Lord

@Bacterius: Thank you! smile.png

@ShaneC: Thanks for the feedback! I'm not sure how I'll exactly calculate it in-game (but I do have a software-based shader system implemented with several algorithms). I was thinking maybe using additive blending to draw the cast light.

I probably need to just sit down and spend a few days looking at photos of real stain-glass windows (and photos of games that look good), and then tweak the artwork in Paint Shop Pro.

I wonder if some colored lighting softly surrounding the windows themselves on the wall would improve the appearance... ("color bleeding"?) Is that what you mean by a 'glow'? Do you mean a colored glow around the wall around the glass itself, or a blurrier/smoother light cast on the floor?

It definitely needs to be tweaked alot once the game editor is completely and once I can finally actually see them in-game. When I get around to it (months from now), and if I remember, I'll post my attempts on GameDev's art subforum to get even more suggestions! I've only posted there a few times in the past, but it's always gotten me very good feedback.

I appreciate the input!

Come to think about it, looking at the cast light and the benches' cast shadows, the light directions don't line up. laugh.png

I'm not too bothered by that, but I should maybe mirror the shadows of the benches on the left, so on both columns of benches the shadows are cast away from the window (and the bench shadows should be softer and weaker as well).

In general, I was going to go with all shadows falling to the North-East when outdoors, and all shadows falling to the North-West when indoors, but with areas with stain glass windows, I might manually do something different, since there would likely be more player attention-to-details on the lighting/shadowing in those areas.

October 09, 2013 01:53 AM
Shane C

Something kind of like this: http://i43.tinypic.com/nx0rj4.jpg

October 09, 2013 02:07 AM
Servant of the Lord

I think I get what you're showing.

Here's a few rapid tests:

[1] [2] [3] [4] [5] [6] [7] [8] [9]

7tpt.png

October 09, 2013 02:34 AM
Shane C
Maybe I'm steering you in the wrong direction. I feel like there is too much color in those images. Lighting as I picture it has a rather yellow or whitish yellow tint. But then again, two people have rated your post up, so maybe they like it.
October 09, 2013 10:25 AM
Servant of the Lord

Light coming through stain glass windows is distinctly colored, but not quite as bright as I'm making it here - I definitely need to tone it down some... Sometime in a few months, I need to devote a good week to it, since one of these stainglass windows will take place in an area where the player shelters during a siege and needs to look good as plot dialog unfolds.

I really need to look at actual pictures and tweak this in the future; thanks for the comments!

October 09, 2013 02:29 PM
Bacterius

I think the problem here is that the reflection has a brighter halo than the window, which is rather jarring. I think switching around the two halos would make it look a bit better (so that the window has the bright, thin one and the reflection has the blurred version). And maybe reduce the brightness of the reflection by 15-20%.

Though this is just guesswork, really, I agree looking at real pictures would probably be a better guide.

October 10, 2013 12:17 AM
Servant of the Lord

Oh yeah, hmm. I think that's what Shane C was pointing out in his mock-up as well, which makes sense.

Here's four more mock-ups: [10] [11] [12] [13]

I also realized that in some of these, the frame of the stainglass window is getting over-brightened, and I corrected this in the last two images.

October 10, 2013 01:11 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement