AnsweredAssumed Answered

Heightmap Problem with Radeon HD 6870

Question asked by sgoodrow on Oct 30, 2015
Latest reply on Nov 28, 2015 by sgoodrow

Hi, I am the graphics programmer at Ilsanjo Studios; we are receiving reports of problems with a particular AMD graphics cards (XFX HD-687A-ZDFC) in the development of a PC game (The Wild Eternal) using the Unity3D game engine; we are using the latest Unity 4.6.7 version.

 

The rendering of heightmap-traced fog is being corrupted on these cards, resulting in an inaccurate depiction of a dynamical fog surface that is critical for gameplay. I believe I have isolated the problem to be related to incorrectly transforming a texture into/out of gamma space when it should be in linear space. I am hoping with this inquiry to communicate with anyone who is familiar with any reports of problems with this card.

 

I have included some source files that may help you to understand the problem. In the included .cs file, line 261 serves as a branch to avoid the heightmap texture noise perturbation process. This circumvents the problem. If anything is unclear, I can hopefully answer any particular questions that might get to the bottom of this.

 

Unity/C# Script (renders shader as camera Image Effect): http://hastebin.com/qatewanoqo.cs

Unity/CG Shader: http://hastebin.com/ipokijuqen.avrasm

ilsanjo_radeon_problem.jpg

Outcomes