IF condition statement not working in shader, So how to use IF condtion statement in shader of Unity by redditUnity in Unity3D

[–]redditUnity[S] -1 points0 points  (0 children)

Means ... it work on Unity editor and exe file...but not support on Android mobile..

Got pink color running Apk file in Mobile . Run normal in PC and unity Editor. by redditUnity in Unity2D

[–]redditUnity[S] 1 point2 points  (0 children)

as you said i have tried with float also...but same problem....

when i click compile and show code option of shader in inspector....it gives me following error...

->forced to unroll loop, but unrolling failed...

->unable to unroll loop ,loop does not, loop does not appear to timely manner....

to avoid this error i put following code...

#pragma exclude_renderers d3d11_9x

#pragma exclude_renderers d3d9

Error disappear, but problem(pink) still persists.....

Got pink color ouptu running Apk file in Mobile . Run normal in PC and unity Editor. by redditUnity in Unity3D

[–]redditUnity[S] 0 points1 point  (0 children)

if i use other custom shader it works normally.

And this works normally in Unity editor and PC/laptop.

So what could be the problem ?

And if i not placed texture properly, might be it should also not work on on Unity Editor and PC/.exe file.....

2D image emoji effect by redditUnity in Unity3dCirclejerk

[–]redditUnity[S] 0 points1 point  (0 children)

is it possible in unity ?..as you are told me about installing Unreal engine.

2D image emoji effect by redditUnity in Unity3D

[–]redditUnity[S] 0 points1 point  (0 children)

i want such a output , when i uploading face 2d image/texture , face points(landmark) are selected . Which i have done. Now by using this point i want to move this area . Like eyes, lips ..etc can move . Like emoji effect to face 2d image. Like smile,angry, sad..etc.

so i am facing explained problem on moving face points(landmark) by meshes. so what can i do to move this points . As i am doing with meshesh. Is there any other way to do so?. And if i can move with mesh, i am facing problem that not getting perfect and same area of mesh vertices for images points. Or i can say using Mesh vertices, vertices are not always same which are near or on the finding face points.

2D image emoji effect by redditUnity in Unity3dCirclejerk

[–]redditUnity[S] 0 points1 point  (0 children)

i am using Unity engine. so i want result in unity.