Problem with CameraFilterPack_Drawing_Paper Effect on Android 5.1
-
I am using the CameraFilterPack_Drawing_Paper camera filter script from the Camera Filter Pack. When I use it on an Android device with Android version of 5.1, something when wrong with and effect and I can only see a black color paper on the screen with no transparency (even the fade with original is 0.4).
There is no problem when I run it on any iOS device and on Android version of 6.
I have been stuck here for quite a while and I would really appreciate your help.
Here is the inspector of the usage of the script. I have not changed anything in the script nor the shader.
Thank you very much!
Sincerely,
Jacky
-
double click on the SC Shader and
remplace the line 98 :
float3 ax = l;
by
float3 ax = float3(l,l,l);
also replace the 2 line 74 and 75 :
float4 tex1[4];
float4 tex2[4];by
float4 tex1[4] = { float4(0, 0 ,0, 0),float4(0, 0 ,0, 0),float4(0, 0 ,0, 0),float4(0, 0 ,0, 0) };
float4 tex2[4] = { float4(0, 0 ,0, 0),float4(0, 0 ,0, 0),float4(0, 0 ,0, 0),float4(0, 0 ,0, 0) };it should fix the issue,
if you still have an issue, please tell us
-
Hi
Thank you for you reply.
It seems it may not be the problem of the shader script nor the Plugin.
Instead, it seems is the problem of the camera setting. I disabled HDR on the camera and it works probably now. (I also updated unity version from 2017 to 2018.1.1f1 in between but I am not sure if that affects this)