Page 1 of 1

Flat surfaces and reflections?

Posted: 30 Jun 2014, 02:01
by smoth
I was looking at some issues with the reflections in spring and noticed how curved surfaces have much higher detailed reflections. So I stepped back and turned just reflections on in my shader.

You'll notice how great the spheres look and how unpleasant the mech looks...
Image

so then I said, well maybe it is just flat surfaces..
Image
Oddly it isn't lower resolution as much as it looks like flat surfaces have a zoomed in appearance. Now you could say, well is it your shader. NOPE. I tested in several other games.

Why didn't you notice until now? Truthfully, we didn't make that much of a usage of just reflection. Specular always obscured it when reflection was really high, so was specular.

so I created a new test unit to look at it
Image

all images are clickable to larger versions

is there a way to tell spring, hey I WANT a higher resolution reflection cubemap to be generated? maybe that can mitigate this issue?

Re: Flat surfaces and reflections?

Posted: 30 Jun 2014, 02:09
by Kloot
CubeTexSizeSpecular=X
CubeTexSizeReflection=Y

(springsettings.cfg)

Re: Flat surfaces and reflections?

Posted: 30 Jun 2014, 02:35
by smoth
<3 thanks kloot!

Re: Flat surfaces and reflections?

Posted: 30 Jun 2014, 11:06
by PicassoCT
Thanks for the R&D smoth

Re: Flat surfaces and reflections?

Posted: 30 Jun 2014, 16:09
by smoth
is there a way to set the reflection size in game? as in if the camera is y distance above ground, a sort of LOD?

Re: Flat surfaces and reflections?

Posted: 30 Jun 2014, 17:36
by gajop
Can we see the screens when you fixed it? What values did you use?

Re: Flat surfaces and reflections?

Posted: 30 Jun 2014, 17:44
by PicassoCT
Question, is the reflection map also small when you use a smoothgroup that covers the whole robot(piece)?

Re: Flat surfaces and reflections?

Posted: 30 Jun 2014, 19:25
by smoth
gajop wrote:Can we see the screens when you fixed it? What values did you use?
The default was 128, what I have come to realize is the curved surface distorted the reflections in such a way that it *appears* to be much crisper.

Look closely at the thighs and shoulder armor. ESP the one in the back on the left side.

this is what it looks like by default(128):
Image
(click image for larger)

this is what it looks like at my current setting (1024)
Image
(click image for larger)

I didn't have soley the reflections on at the time I took the pictures, sorry.