Page 1 of 1

Only half of my items are being blurred..

PostPosted: Wed Dec 20, 2017 6:04 pm
by dijital
Hi, I am using a 'mirror mode' plugin in my game

http://www.assetstore.unity3d.com/en/#!/content/31374

But when It is enabled, only half of the items in my scene get blurred.

It works perfect;y well when mirror mode is not enabled.

Any ideas?

Thanks.

Re: Only half of my items are being blurred..

PostPosted: Wed Dec 20, 2017 6:46 pm
by Amplify_Borba
dijital wrote:Hi, I am using a 'mirror mode' plugin in my game

http://www.assetstore.unity3d.com/en/#!/content/31374

But when It is enabled, only half of the items in my scene get blurred.

It works perfect;y well when mirror mode is not enabled.

Any ideas?

Thanks.


Hey there dijital, hope everything is well.

Unfortunately, we don't have this plugin at our disposal for testing, and even if we did it doesn't provide a source so we wouldn't be able do much on our end.

Have you tried to get in touch with its developer?
Also, have you experienced any similar issues with other post effects while using that plugin?

Looking forward to your reply!

Re: Only half of my items are being blurred..

PostPosted: Wed Dec 20, 2017 11:35 pm
by dijital
I think what is happening is that Amplify motion is processing the pre flipped image.

Is there a way to mirror the 'blur' is script?

The same thing happens wheni apply this script to camera

Code: Select all
 function OnPreCull () {
     camera.ResetWorldToCameraMatrix ();
     camera.ResetProjectionMatrix ();
     camera.projectionMatrix = camera.projectionMatrix * Matrix4x4.Scale(Vector3 (1, -1, 1));
 }
 
 function OnPreRender () {
     GL.SetRevertBackfacing (true);
 }
 
 function OnPostRender () {
     GL.SetRevertBackfacing (false);
 }
 
 @script RequireComponent (Camera)

Re: Only half of my items are being blurred..

PostPosted: Thu Dec 21, 2017 11:17 am
by Amplify_Borba
dijital wrote:I think what is happening is that Amplify motion is processing the pre flipped image.

Is there a way to mirror the 'blur' is script?

The same thing happens wheni apply this script to camera

Code: Select all
 function OnPreCull () {
     camera.ResetWorldToCameraMatrix ();
     camera.ResetProjectionMatrix ();
     camera.projectionMatrix = camera.projectionMatrix * Matrix4x4.Scale(Vector3 (1, -1, 1));
 }
 
 function OnPreRender () {
     GL.SetRevertBackfacing (true);
 }
 
 function OnPostRender () {
     GL.SetRevertBackfacing (false);
 }
 
 @script RequireComponent (Camera)


Unfortunately, there's no way to mirror the blur effect via script without specifically supporting that plugin.

The Mirror Mode plugin itself should have a way of handling image effects, which doesn't seem to be the case, which is why we asked if you could confirm if you experienced any similar issues with other post effects while using that plugin.

We strongly recommend that you contact its developer as he could provide a better insight on this situation.

Please let us know if you have any further questions, thanks!

Re: Only half of my items are being blurred..

PostPosted: Thu Dec 21, 2017 12:45 pm
by dijital
I removed the mirror mode effect and added the the script I posted in my last post to the camera and the same thing happens so it seems the problem isnt just with mirror mode for me.

I do not have the same problem using unity's fast bloom post effect. when mirror mode is on or the above script is enabled.

Re: Only half of my items are being blurred..

PostPosted: Thu Dec 21, 2017 2:11 pm
by Amplify_Borba
dijital wrote:I removed the mirror mode effect and added the the script I posted in my last post to the camera and the same thing happens so it seems the problem isnt just with mirror mode for me.

I do not have the same problem using unity's fast bloom post effect. when mirror mode is on or the above script is enabled.


Thank you for providing additional details, however, the Unity Legacy Fast Bloom effect works differently from our image effect.

In this specific situation that you've reported, the image flip must be managed by the actual mirror effect since, unfortunately this is not something that we can currently do on our side as we don't have access to this asset and its source nor can we currently implement it on our side.

We do provide the full source of Amplify Motion should you be interested in developing a custom solution. Alternatively, we recommend checking out the free Post Processing effect stack.

Can you please confirm your Unity and Amplify Motion version? We would love to rule out any possible technical issues on our side.

Apologies for any incovenience caused, we look forward to your reply.