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 - zmeinaz

Pages: [1]
1
Other Packages / Re: Tasharen Fog of War
« on: March 01, 2016, 07:45:24 AM »
I see what you mean... Is it possible to optimize the UpdateTexture function in FOWSystem.cs to only update indices that were changed since the previous update?

The reason I am looking into this sort of optimization is because I was originally using a world and texture size of 512, but I saw large performance spikes on older devices (iPad 3). Reducing to a size of 350 helps a lot, but I think it will still impact even older devices (iPad 1).

2
Other Packages / Re: Tasharen Fog of War
« on: February 28, 2016, 12:52:14 PM »
Hello,

I am using FOW on the x-y plane with the shader method and my maps are taller than they are wide (150x350). Is it possible to adapt FOW to rectangular world sizes and texture sizes? I tried updating fowSystem but the revealed area is warped and the indices are off. For example, using the radius revealer, the revealed area is an oval that is wider than it is tall. I am trying to get a world size and texture size such that one pixel in the texture equals one unit on my map.

The idea is to avoid processing an extra 70,000 pixels of the texture that are unused in order to improve performance on low end devices.

3
Other Packages / Re: Tasharen Fog of War
« on: March 31, 2014, 08:29:57 PM »
Thanks, I ended up having to re-orient the FOWSystem to the xy plane. Works great!

4
Other Packages / Re: Tasharen Fog of War
« on: March 30, 2014, 08:16:35 PM »
I'm still not quite getting the desired behavior. I have a 2D tile map on the xy plane. I want the tiles to have the fog of war. I think I need to somehow map the xz plane of the fow texture to the xy plane of my tile map. From what I have seen so far, the x-axis updates correctly, but the y axis is always 0.

5
Other Packages / Re: Tasharen Fog of War
« on: March 29, 2014, 04:24:41 PM »
How difficult would it be to use FOW on the x-y plane instead of the x-z plane in the example. I have a 2.5D game that I am trying to use this with, the character moves on the x-y plane. I have it partially working, however when the character moves on the y plane, the FOW is not updated. it works fine along the x-axis. I am using the shader implementation and have changed my shaders to use worldPos.xy instead of xz. What else would I need to change?

6
Other Packages / Re: Tasharen Fog of War
« on: March 28, 2014, 08:27:31 AM »
Does this still require Unity Pro if I use the mobile shader implementation? The first page of this thread mentions that Unity Pro is required, but the Asset Store page does not.

Pages: [1]