Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
graphical artifacts
08-11-2010, 11:18 AM,
#1
graphical artifacts
there seems to be some kind of shadow following the car around but only if the shaders are turned on (this is on linux with an nvidia card). i am attaching a series of pictures illustrating the problem:

[Image: shadow1.jpg]
[Image: shadow2.jpg]
[Image: shadow3.jpg]
[Image: shadow4.jpg]

the shadow seems to exist only on vertical surfaces and it moves with the camera. if the shaders are off everything looks like on the brighter side of the wall.

--alex--
Reply
08-11-2010, 02:06 PM,
#2
 
also linux with nvidia. i cannot reproduce though.. hmm....

tried with 256.44 and 195.36.24 drivers, gf 9600m gs, ubuntu 10.04 64-bit, rv2847, data rv671
Reply
08-11-2010, 03:04 PM,
#3
 
portets Wrote:also linux with nvidia. i cannot reproduce though.. hmm....

did you try it on hungaroring at the same places? i also see this right away at interlagos. this with the shaders on shadows, bloom, normal maps, motion blur off. ambient occlusion is off, reflection quality low
Reply
08-11-2010, 10:42 PM,
#4
 
strange, i don't know how i didn't see it before. i can actually reproduce it with any combination of settings with shaders on. even with shadows off.
Reply
08-12-2010, 12:01 AM,
#5
 
Good catch.

I looked at this in some detail and I'm pretty sure it's occurring because those pieces of geometry have weird normals. The abrupt transition of shading is occurring because that's where the normal is actually pointing backward away from the camera, so the shader is flipping it to point back at the camera.

In data R672 I changed the way I correct backward-pointing normals so that it reflects the normal back at the camera instead of flipping it. It's less correct for double sided surfaces, but it prevents the abrupt shading change for cases like this.
Reply
08-12-2010, 01:09 AM,
#6
 
no joy. now it's even worse:
[Image: latest.jpg]

--alex--
Reply
08-13-2010, 12:48 AM,
#7
 
:oops:

That's a debug visualization I was using. I forgot to re-enable the normal shader path. Fixed in 673.

:oops:
Reply
08-13-2010, 01:55 AM,
#8
 
the shadows artifacts seem to be gone. thanks.

--alex--
Reply
08-13-2010, 06:17 PM,
#9
 
joevenzon Wrote:That's a debug visualization I was using

do normal maps work in this mode? it might help me make them, if so.
Reply
08-14-2010, 05:48 PM,
#10
 
Yes. All I had done there was commented out parts of the shader so that the only thing showing was the ambient light, and ignored diffuse textures (as if they were white).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)