Flat surfaces and reflections?

Flat surfaces and reflections?

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Flat surfaces and reflections?

Post 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?
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Flat surfaces and reflections?

Post by Kloot »

CubeTexSizeSpecular=X
CubeTexSizeReflection=Y

(springsettings.cfg)
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Flat surfaces and reflections?

Post by smoth »

<3 thanks kloot!
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Flat surfaces and reflections?

Post by PicassoCT »

Thanks for the R&D smoth
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Flat surfaces and reflections?

Post 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?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Flat surfaces and reflections?

Post by gajop »

Can we see the screens when you fixed it? What values did you use?
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Flat surfaces and reflections?

Post by PicassoCT »

Question, is the reflection map also small when you use a smoothgroup that covers the whole robot(piece)?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Flat surfaces and reflections?

Post 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.
Post Reply

Return to “Art & Modelling”