Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: INFO - & Types of maps/shaders/effects will the engine will support?  (Read 28480 times)

Luishi5k0

  • Full Member
  • ***
  • Posts: 157
  • newbie

Hello there. I had some questions that myself and I'm sure other people that will be doing 3D work will want answered. What sort of maps, shaders, and lighting will be implemented into the engine?

I would assume a bump/ normal map will be used as that is almost a standard now days. As for other maps that I feel would be nice to have, will there be:

Specular?
Some sort of reflection map where we may designate windows and reflective surfaces?
Glow map (where we designate things that would glow, such as signs or windows)? I think glowing windows on a city would look fantastic at night.
Any other features/ maps that I forgot.

As for effects, will there be particles (and will they be soft/z-feathered)?
Sun shafts?
Ambient Occlusion?
Will the reflections be based off of env maps or ray traced? (I think GTA IV ENB Series had the best reflections of any game).
Wet maps/ shaders so when it rains it will create wet surfaces?

Bloom?
HDR?
Sun flare?
Parallax Mapping?
Motion Blur?

As for lights, will there ever be support for other lights other than the sun?

How is LOD handled?

Any other info I missed.

Thank you very much for the info and the engine, I can't wait to see it continue to progress.
« Last Edit: March 07, 2012, 08:50:33 pm by Luishi5k0 »
Logged

Luishi5k0

  • Full Member
  • ***
  • Posts: 157
  • newbie
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #1 on: March 07, 2012, 08:49:07 pm »

Okay, since this thread has a lot of views and no replies, I will make it informative on what these things ARE to those of you who don't know.

A map (also known as texture) is an image that is a applied to a 3D model which changes the way it looks. I will start with the two basic ones. Diffuse and normal (bump) map. Diffuse is the color, and as the name implies, a bump map adds bumps to to the texture. A bump map does not change geometry, it only changes the way light reacts when hitting the texture. Here is an example:


Next we have the specular map, it changes the way light shines on a surface without actually affecting the depth of it. It's used mostly for scratches and other blemishes. Image:


Continuing on, we have have glowing materials. Basically it designates what appears to be glowing. Deus Ex HR had the best use of glow in my opinion.


Next we have reflections. For these, there are two main types. The most popular is using an environment map to create a reflection. This is essentially a texture that will reflect off of a model. It is often favored because it is not too hardware intensive. The downside is you do NOT get accurate reflections of your surroundings.

The real man way to do reflections is to ray-trace them, giving you perfect reflections as can be seen in GTA IV ENB series. The following are all IN GAME screenshots, in real time.




After you've gone and changed your underwear after those, we will continue on to shader effects. We'll start with a popular one lately, which is the sun shaft effect. I'll explain it with a picture:


Next we have good o'l depth of field. Here is the effect from Cryengine 3 (dx11).


Then we have parallax mapping, which is like bump mapping except more extreme in the sense that it actually occludes (blocks out) other pixels and 'can' cast shadows. Here is an example:


Tessellation is also similar, but this actually adds geometry to the scene via DX11 hardware. It is good for LOD and is not too bad of a performance hit considering how many more polys it adds. I believe Outerra does something similar, but not on DX11. This is still controlled by a map for depth. Here is the comparison screenshots:



For Ambient Occlusion, it checks to see how close things are together and then adds shadows depending on that. To compare, drag the slider back and forth like a mad man in this link:
http://international.download.nvidia.com/geforce-com/international/comparisons/skyrim-AO-comparison-6.html

Motion blur is pretty self explanatory, if you don't know what that is... wave your hand in front of your face. Moving on.

Next we have shadows. To me, shadows are probably the 2nd more important thing when it comes to video game graphics. For the most part, shadow maps are used. Which is like a texture in the sense that it checks to see which part of the geometry occludes the light from a given point. Here is a comparison of a shadow map and it's blurred version.


The higher resolution your shadow map is, the more detail that is within it. It becomes more important when the shadow moves, because that is where you can really notice the jaggy-ness of them. Here is a comparison.


Because I know you all love being wet, I will move on to water comparisons. Here we have normal water that intersects with the coast line (like most games), and then a version of that with a fading edge, giving it a softer look. Here is the result.




Speaking of being WET, we can't have wetness without wet maps, now can we? Say it starts raining, you'd expect your game to look a little more... moist, wouldn't you? Well Wet surfaces are the solution to your moistness problems. It looks way better in game (I promise).



Next I would like to ask you a question. Do you prefer your particles to look like ass, or not? If you answered no, this next part is for you. What I'm talking about is soft particles (z-feathered). It's quite simple really, you blur the particle as it intersects with geometry so it doesn't look like it wants to cut everything in half. Here is the splendid comparisons.



And finally I will finish off with something that almost no engines have, which is global illumination. Do you notice how in real life, things blocking light do not leave the area behind it completely black? That is because light scatters and bounces off of things. That's why when you have a red room things appear more red. To finish off with the theme here, I will add comparisons... now.



Thank you for reading. I will add more as I get  time or think of it.
« Last Edit: March 07, 2012, 08:54:37 pm by Luishi5k0 »
Logged

mctash

  • Full Member
  • ***
  • Posts: 153
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #2 on: March 08, 2012, 11:32:09 am »

I don't have anything to add just thanks for informative post :)
Logged

ZeosPantera

  • ||>>-Z-<<||
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
  • #1 Outerra Fan Boy
    • My Youtube
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #3 on: March 08, 2012, 01:43:54 pm »

+1 for the time spent on that post.

Forget anything DirectX like tessellation however since this runs on OpenGL. But that just makes it more exotic in the long run.
Logged
"Fear accompanies the possibility of death, Calm shepherds its certainty" - General Ka Dargo

RaikoRaufoss

  • Blood may move the wheels of history, but only our cunning keeps the wheels oiled.
  • Sr. Member
  • ****
  • Posts: 374
    • http://www.sabaton.net/
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #4 on: March 08, 2012, 01:48:12 pm »

2+ for the time spent and how informative the post was.
Logged
Far from the fame
Far away from the fame
But we still remember your name
Karel JanouĊĦek
We mourn the day that you died
So be our guide
CZECHOSLOVAKIA'S PRIDE!!!!!!

Luishi5k0

  • Full Member
  • ***
  • Posts: 157
  • newbie
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #5 on: March 14, 2012, 07:36:53 pm »

Now we will talk about new AA methods. Currently it looks like Outerra uses FXAA which is the hot new AA technique in town, but it does leave the scene a little blurry. What I think should replace it in Outerra is SMAA. Here is an article with lots of comparison shots:
http://www.iryoku.com/smaa/downloads/SMAA-Enhanced-Subpixel-Morphological-Antialiasing.pdf

Something else that is worth looking at would be Light Propagation Volumes for Global Illumination. It is the same system that Cryengine 3 uses for GI. Here is a very interesting article on that: http://www6.incrysis.com/Light_Propagation_Volumes.pdf


On a differant note as well: CryEngine 3.


Another:


Is your body ready for in engine screen shots?




« Last Edit: March 14, 2012, 07:55:15 pm by Luishi5k0 »
Logged

Jagerbomber

  • Hero Member
  • *****
  • Posts: 1564
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #6 on: March 14, 2012, 08:44:44 pm »

Perhaps it's because my resolution is a little sub-1080, but I haven't liked some of the new AA methods used now.  They tend to cause more crawling on edges which i don't like.  (I don't remember exactly which abbreviations/methods exactly.  There's so many now.  :P).  I think FXAA is my favorite at 1680x1050 because it seems like the "jaggies" seen with FXAA at 1680x1050 are because of my display's/that resolutions and it's visible pixels.  I'm no expert though.
Logged
"Perhaps this speaks to some larger trend within society today...  A prevailing desire on the part of indie developers to recreate the entire world into one where you can charge more than $15 for your game design degree coursework." - Yahtzee ;) :P

Luishi5k0

  • Full Member
  • ***
  • Posts: 157
  • newbie
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #7 on: March 14, 2012, 09:04:53 pm »

SMAA is like FXAA but it produces a sharper and more accurate image. See how FXAA blurs it a lot more when compared to the other techniques.
« Last Edit: March 14, 2012, 09:06:31 pm by Luishi5k0 »
Logged

Jagerbomber

  • Hero Member
  • *****
  • Posts: 1564
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #8 on: March 14, 2012, 09:19:31 pm »

In those pictures, the top MLAA looks the best to me (though it's not in motion).  I don't think it's the best image to judge by though.
Logged
"Perhaps this speaks to some larger trend within society today...  A prevailing desire on the part of indie developers to recreate the entire world into one where you can charge more than $15 for your game design degree coursework." - Yahtzee ;) :P

angrypig

  • Sr. Member
  • ****
  • Posts: 454
Re: INFO - & Types of maps/shaders/effects will the engine will support?
« Reply #9 on: March 15, 2012, 05:45:43 am »

Hi guys

I would like to combine FXAA with MSAA 2x in next AA iteration it should improve sub-pixel detail, but the new FXAA 4.0 implementation should solve a lot of issues and improve sub-pixel detail too. So i am not going to hurry this part at this time.

Some details about upcoming FXAA 4.0:
http://timothylottes.blogspot.com/2011/12/fxaa-40-development-update-stills.html
Logged