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.

Topics - Velo

Pages: [1]
Other Packages / Tasharen Fog of War in Linux Game Builds
« on: April 18, 2015, 12:26:26 PM »
Hi Aren,

First let me say thank you for offering your Tasharen Fog of War system.  It's working wonders for my RTS game :)

I'm having an issue that I just came across though when I had a friend test my game on his Linux system.  In Windows, the fog of war works as expected with no issues.  But in Linux, the fog effect seems to shroud the players camera even more than it should.  So places where you should be able to see the terrain and units, you cannot because the fog of war is covering it.

Let me say though that it could be something unrelated to your system, I havn't tried to debug every angle on this problem, but wanted to ask you about your opinion on it?

I also noticed in linux that the camera culling distance (for the camera frustrum) seemed to be off as well.  Perhaps it's an issue with the camera (and maybe on Unity's end), and has nothing to do with your fog of war image effect.

Anyways, just wanted to let you know about this, and maybe it's not a problem with the fog of war itself, but maybe it is??

Thanks Aren.

P.S. Is there any chance you might make a version "2.0" in the future for this fog of war asset?  It really is a great system.  I like it.

Other Packages / Tasharen Fog of War Unity 5.0 Question
« on: November 17, 2014, 01:04:32 AM »
Hey Aren,

I'm currently in the Unity 5.0 beta, and I'm using your Fog of War package in my project right now.  I noticed that when I had the "DX11" option checked in the player settings, I was getting pretty big performance spikes while playing my game (in 5.0).  I did not get these spikes when using Unity 4.x with the DX11 option checked.  Here's the thing though, I have a graphics card that only supports up to DX10!  So I'm not sure what's causing the performance lag spikes.  Again, in Unity 4.x there was no problem.  Now in Unity 5.0 beta, there is a problem.  My guess might be the new lighting system doing something or the physically based shaders, but that's just a guess on my part.

Using Unity 5.0 currently, if I unselect DX11 in player settings, and just use DX9, the lag spikes go away.  Which is great, but I was hoping there wouldn't be any lag spikes using DX11 either, but the fact that I have a DX10 graphics card means I can't really test if that's the problem or if it's something else with the post-process effect?

Anyways, I just wanted to point that out to you, to see if maybe you had an answer for that behavior?  It could also be something with my settings in 5.0, so I'll continue to look at it. 

Thanks Aren!

Other Packages / Fog of War possible in deferred lighting?
« on: May 02, 2014, 11:37:09 AM »
Hi Aren,

Is the fog of war supposed to work correctly using deferred lighting?  Currently when I switch to deferred lighting, it doesn't work correctly (although I do see a fog effect it's just not in the correct place).  I'm not sure if it's supposed to or not, so I just wanted to ask.

If not, is there a way to get it to work correctly with deferred lighting?  It's actually not a huge deal for me if it doesn't work, but it would be a big bonus if it did.

Thank you.


So far I've managed to get a couple of shaders (not provided with the package) to work with the fog of war system by modifying the shaders themselves with lines of code provided in your shader examples.  However, I'm having trouble getting trees and grass used in Unity's built-in terrain script to work with the fog of war correctly.

I have a separate tree prefab in which I've modified the shader for the tree, and it works with the fog of war system exactly how I want (which is good).  However, as soon as I use this exact same tree prefab with Unity's terrain system (i.e. the ones you can "paint" onto the terrain), the tree's cease to work with the fog of war for some reason.

Is there any way you could help me with what lines of code need to be in either the terrain shader or the tree shader in order for the tree to be covered by the fog of war when it's placed using the terrain painting system?

Thank you.

Other Packages / Fog of War -- Trouble getting started
« on: April 15, 2014, 02:08:09 PM »

I just purchased the fog of war package, and I've read the readme and looked at the example scene, but so far, I can't see the fog of war at all in my scene.  Also note, that I'm using Unity free version (Indie version).  I do not have pro.

This is what I've done so far:  I've dragged the "Fog of War" prefab with the "FOWSystem" script into my scene.  I positioned the prefab over my terrain and it fits great (my terrain is 500 x 500).  At this point should I see the fog of war in my scene?  So then, I attached a "FOWRevealer" script to one of my gameobject units, and made sure it was using a fog of war diffuse shader.  At this point, in my scene I still saw absolutely nothing changed -- there was no fog of war at all.  I also have played my game and nothing appears in terms of fog of war.

I've tried changing several settings, especially the "Raycast Mask" on the "FOWSystem" script.  As I thought maybe I had to set it to mask only my terrain layer?  I also tried lowering the Fog of War game object prefab to be slightly lower than my terrain, in-case the raycasts weren't reaching the terrain for some reason or something like that.

All in all, I don't see any fog of war yet  :-\  Thanks for any help/advice/suggestion! 

Pages: [1]