Welcome, Guest

Author Topic: Glitch Displace Mapping Alpha 15  (Read 1315 times)

WitheHole18

  • *****
  • Posts: 653
  • Nothing is created, nothing is destroyed.
Glitch Displace Mapping Alpha 15
« on: June 20, 2015, 06:01:48 AM »
The new update is very cool,atmosphere,collision,really more speed.
But i see a glitch with the displace mapping,in short there are strange effects,i take screenshot and the file log.

C7

  • Development Team
  • *****
  • Posts: 544
Re: Glitch Displace Mapping Alpha 15
« Reply #1 on: June 20, 2015, 11:47:35 PM »
We've got a shader rewrite planned in coming updates, that will hopefully address a lot of these visual artifacts.

:Technical info, if you're curious.

We're dealing with really large distances in the game, and there's not enough resolution available in a convential depth buffer to handle it. This causes rendering issues by incorrect rounding of faces. So you'll get triangles drawn in the wrong order. In this case the triangles of the surface are rendering over the atmosphere.

Georg developed tech for a logarithmic Z-buffer, that should stop these sort of glitches from happening anymore. Unfortunately, we haven't been able finish implementing it, due to a Unity lighting engine bug. It was just fixed in a recent Unity patch, so we should be able to move forward with our planned upgrades.

WitheHole18

  • *****
  • Posts: 653
  • Nothing is created, nothing is destroyed.
Re: Glitch Displace Mapping Alpha 15
« Reply #2 on: June 21, 2015, 02:15:51 AM »
whoaa review of shader,it sound cool,thanks for info