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.
Only half of my items are being blurred..
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Only half of my items are being blurred..
Hey there dijital, hope everything is well.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.
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!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Only half of my items are being blurred..
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
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)- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Only half of my items are being blurred..
Unfortunately, there's no way to mirror the blur effect via script without specifically supporting that plugin.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)
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!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Only half of my items are being blurred..
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.
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.
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Only half of my items are being blurred..
Thank you for providing additional details, however, the Unity Legacy Fast Bloom effect works differently from our image effect.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.
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.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!