Implement shadows for features?

Implement shadows for features?

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Implement shadows for features?

Post by Floris »

I finally have all the features rendered at great distance and now they dont have any shadows!

Image
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Implement shadows for features?

Post by Silentwings »

Also, your ships seem to have shadows under the water, which looks odd ;)
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: Implement shadows for features?

Post by Floris »

Thats pretty normal behavior, shadows are cast onto the sea floor, and the floor is deep, so the shadows are further off from the ship.

The only think it makes it look just a tiny little bit odd to me is that the shadows are so bright, like the sea is really that crystal clear.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: Implement shadows for features?

Post by Floris »

ok solved


FeatureDrawDistance = 95000
FeatureFadeDistance = 88000

and

advmapshading on helped
klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: Implement shadows for features?

Post by klapmongool »

Could you post more result screenshots?
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Implement shadows for features?

Post by Anarchid »

FeatureDrawDistance = 95000
FeatureFadeDistance = 88000
Can i somehow change those in a map gadget?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Implement shadows for features?

Post by Kloot »

Spring.*etConfigInt (loadtime only)
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Implement shadows for features?

Post by Jools »

Silentwings wrote:Also, your ships seem to have shadows under the water, which looks odd ;)
Agree with this. I don't think you would see shadows on the sea bottom in real life, water defracts too much light and is too turbid. Maybe you could if it was a bathtub with filtered water, but most oceans don't consist of that.

Solution: just remove shadow on sea bottom. Maybe it saves some GPU time too. Everybody happy.

Edit: just have to fill in more about how stupid that shadow on sea bottom is. Based on land topography, you can usually assume that sea topography follows a similar pattern*. Therefore, the sea bottom shadows seem to indicate a rather shallow sea, whereas the mountians close to the beach indicate a rather steep topography and therefore a deep mountain. The shadows on sea botton are way too shallow.

* mountains are the result on tectonic movements that cause land mass to accumulate on top on itself. Tectonic plates are on a rather large depth compared to the water depth that seas have. Therefore there is no reason why the land above water level should be mountanous but not the land beneath it.
Last edited by Jools on 28 Feb 2013, 17:03, edited 1 time in total.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Implement shadows for features?

Post by Anarchid »

water defracts too much light and is too turbid.
Not if it's /water 0.
Solution: just remove shadow on sea bottom use bumpwater.
Ftfy.

(the one Floris uses above is reflective/refractive)
The shadows on sea botton are way too shallow.
They're actually flat, because projections on a surface. To enable volume shadows, go implement it :P
Last edited by Anarchid on 28 Feb 2013, 17:06, edited 1 time in total.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Implement shadows for features?

Post by Jools »

I'm talking about real life. Forget how spring engine is coded. You need to get out and have some fresh air. Maybe talk with a woman too.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Implement shadows for features?

Post by Anarchid »

I'm talking about real life.
You're talking about water looking unreal in a game engine on settings that don't allow it to look real.

Also, in real life, tectonic movements easily cause underwater mountains and stuff like deep ocean trenches.
Maybe talk with a woman too.
That gets old real fast, sonny :P
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Implement shadows for features?

Post by Jools »

My point is exactly that sea bottoms should have mountians, just like land. And looking at the topography, the sea should be much deeper.
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: Implement shadows for features?

Post by Floris »

Jools these things you talk about are the job of map makers.

So the engine has little to do with mountain/seafloor heights in that aspect.


Imho shadows on sea floor is okay as long as its shallow water, and they should fade away when the shadows are cast deeper.

But hey, there are more important things to implement.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Implement shadows for features?

Post by smoth »

Floris wrote:Jools these things you talk about are the job of map makers.

So the engine has little to do with mountain/seafloor heights in that aspect.


Imho shadows on sea floor is okay as long as its shallow water, and they should fade away when the shadows are cast deeper.

But hey, there are more important things to implement.
FACT
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Implement shadows for features?

Post by Jools »

Floris wrote:Jools these things you talk about are the job of map makers.
I was commenting the map.
Floris wrote: Imho shadows on sea floor is okay as long as its shallow water, and they should fade away when the shadows are cast deeper.

But hey, there are more important things to implement.
Agreed, if by shallow you mean less than 0,1 m deep.

Yes, there are more important things to implement, so until shadows in sea floor can be done correctly, just remove them.

(Edited misquote.)
Last edited by Jools on 28 Feb 2013, 20:42, edited 1 time in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Implement shadows for features?

Post by smoth »

Jools wrote:
Floris wrote:Jools these things you talk about are the job of map makers.
I was commenting the map.

So the engine has little to do with mountain/seafloor heights in that aspect.
that is what he was saying.
Post Reply

Return to “Feature Requests”