2 registered members (VoroneTZ, TipmyPip),
1,333
guests, and 0
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: What are you working on?
[Re: Iglarion]
#449712
03/29/15 22:17
03/29/15 22:17
|
Joined: Apr 2002
Posts: 680 Germany
Turrican
User
|
User
Joined: Apr 2002
Posts: 680
Germany
|
I do not know how i missed this five images, but looks really great. Kartoffel what kind of shaders you use to make such a good background effect? Any advice how i can get better background effect in my game:
@Iglarion: Kartoffel is right, it's pretty much the oldschool approach that we use, no special shaders involved. The key is to divide the background into several layers. For Rigid Force Alpha I mostly try to seperate my scenes into foreground, midground and background layers. I make sure that there's a certain space between all these layers. This way you get a nice parallax scrolling effect. And furthermore, when you activate distance fog and simply play around with color and distance, you almost automatically get nice results. The last screen you posted almost has the right direction. I assume that the high sand dunes assets in the background are 2D images. I'd move them further away from the camera to create more depths. Then I'd create some mid-poly sand dunes for the midground and some more detailed ones for the foreground, closest to the walkable area. I think that's pretty much the approach that Frozenbyte used for Trine 2: Trine 2 Desert. You should also take a look at other recent sidescrollers like Donkey Kong Country Returns, they all do it in a pretty similar fashion. Also throw in a bunch of effects like sanddrifts or tumbleweeds passing by for that level and you're good to go!
|
|
|
Re: What are you working on?
[Re: Turrican]
#449719
03/30/15 08:35
03/30/15 08:35
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
User
|
User
Joined: Mar 2012
Posts: 927
cyberspace
|
^ plus maby some sun heat effect off in to the distance , but the style is kickass
Compulsive compiler
|
|
|
Re: What are you working on?
[Re: Turrican]
#449723
03/30/15 10:10
03/30/15 10:10
|
Joined: Jul 2004
Posts: 785 Serbia
Iglarion
User
|
User
Joined: Jul 2004
Posts: 785
Serbia
|
@Turrican: Thank you, definitely now i'll play more with layers distance, and fog color/distance to get good effect. Example that you gave me is great, desert level in Trine looks perfect. I miss this addition, but i found something interesting in one level where we can see over 50% of blue sky on screen, beacuse the biggest problem i have with the background on the places where we can see the blue sky. In Trine i see some details are painted in sky layer, like bluried mountains. Maybe is point, paint some fog color and some very bluried mountains in Skycube to get better transition with lastlayer. Btw if i put image instended of skucube i do not know did there are some engine function or shader, where we can control strenght and position of fog on this sky image, i never try this, but this also might work. Or simple ignore fog on this layer and make fake fog effect in Photoshop. About our desert level, yes i already have some tumbleweeds, heathaze, dust,... all models and concept is there, i just need put this in level, beacuse this is last part of game and has not yet come on the order for polishing. Trine desert level will give me new inspiration . Here is one picture with forest. I thinking about bacground image and fog color
|
|
|
Re: What are you working on?
[Re: Iglarion]
#449764
03/31/15 06:31
03/31/15 06:31
|
Joined: Apr 2002
Posts: 680 Germany
Turrican
User
|
User
Joined: Apr 2002
Posts: 680
Germany
|
@Iglarion: That's the point. You need a good transition from foreground to background. You can achieve that by directly painting some translucent "fog" or clouds or whatever into your background/skybox, or by giving it a general color tint that matches your fog. You could also put a separate colored texture with an alpha gradient just above your background image or skybox to create a better transition. Then you can easily adjust its color to match your fog using the RGB values. Like this: You can also do lots of other cool stuff with a layer setup like this; maybe you could paint clouds on your transition layer and move them using UV shifting. And regarding the screenshot (beautiful by the way!): Have you tried to just use a fresh, slightly saturated blue fog that matches the sky? That could easily work.
Last edited by Turrican; 03/31/15 06:39.
|
|
|
Re: What are you working on?
[Re: Turrican]
#449777
03/31/15 09:41
03/31/15 09:41
|
Joined: Jul 2004
Posts: 785 Serbia
Iglarion
User
|
User
Joined: Jul 2004
Posts: 785
Serbia
|
Thank you for image, this transparet layer sounds like the best solution. I almost forget that we already use something like this in our menue screen: https://www.youtube.com/watch?v=ybZBta6mISo&feature=youtu.beI will try make this tranparent layer with moving fog and clouds, i hope this will looks good All these things require a lot of time to adjust, but i'm sure it's worth it. And regarding the screenshot (beautiful by the way!): Have you tried to just use a fresh, slightly saturated blue fog that matches the sky? That could easily work. To be honest i not playing to much with fog, i just try on speed some blue fog before but that do not looks soo good. I must adapt back layers for blue color. Dark green fog looks good but only in dark swamp levels.
Last edited by Iglarion; 03/31/15 10:26.
|
|
|
|