Universe Sandbox

Universe Sandbox => Universe Sandbox ² | Support & Bugs => Topic started by: WitheHole18 on June 20, 2015, 06:01:48 AM

Title: Glitch Displace Mapping Alpha 15
Post by: WitheHole18 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.
Title: Re: Glitch Displace Mapping Alpha 15
Post by: C7 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.
Title: Re: Glitch Displace Mapping Alpha 15
Post by: WitheHole18 on June 21, 2015, 02:15:51 AM
whoaa review of shader,it sound cool,thanks for info