Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - FuriousBroccoli

Pages: [1]
1
Other Packages / Re: Tasharen Fog of War
« on: February 07, 2015, 12:54:42 AM »
Great, that did the trick - the fog textures actually need to have their color space match that of the player.  This was an easy fix in code:

FOWSystem.cs
  1. mTexture0 = new Texture2D(textureSize, textureSize, TextureFormat.ARGB32, false);
  2. mTexture1 = new Texture2D(textureSize, textureSize, TextureFormat.ARGB32, false);
  3.  

becomes...

  1. mTexture0 = new Texture2D(textureSize, textureSize, TextureFormat.ARGB32, false, QualitySettings.activeColorSpace == ColorSpace.Linear);
  2. mTexture1 = new Texture2D(textureSize, textureSize, TextureFormat.ARGB32, false, QualitySettings.activeColorSpace == ColorSpace.Linear);
  3.  

and it works for both color spaces. Thanks!

2
Other Packages / Re: Tasharen Fog of War - Linear Color Space
« on: February 05, 2015, 05:27:48 PM »
Hi - I noticed that the fog of war reveal interpolation, with Linear color space, flickers.  This problem does not occur in Gamma space.

I'm no good with Unity shaders - is there an easy fix to make this work smoothly with a linear color space?

Thanks!

Pages: [1]