Search found 6 matches

by Treiger
Mon Oct 15, 2018 9:28 am
Forum: Amplify Shader Editor
Topic: Sprite Crossfade Shader Help
Replies: 11
Views: 10564

Re: Sprite Crossfade Shader Help

OOOH. I didn't even think about that! That makes a lot of sense. Thanks a lot for all the help Borba. I'm all out of questions. :D
by Treiger
Sat Oct 13, 2018 8:50 am
Forum: Amplify Shader Editor
Topic: Sprite Crossfade Shader Help
Replies: 11
Views: 10564

Re: Sprite Crossfade Shader Help

That's good to hear. Thanks again for the help Borba.

I just have one final question regarding the Step node. So from my understanding, it's suppose to set values to 0 or 1, depend on the A and B inputs. But in the shader, I see other values:

https://i.imgur.com/Ye3R4me.png

Shouldn't the colors ...
by Treiger
Fri Oct 12, 2018 3:29 am
Forum: Amplify Shader Editor
Topic: Sprite Crossfade Shader Help
Replies: 11
Views: 10564

Re: Sprite Crossfade Shader Help

Thanks Borba. I did some profiling of my own and found that it was the Unity editor. It's not too bad, so I can live with it since it's less pronounced in play mode and non-existent in builds.

I've added a dissolve effect now to the shader and I've run into what I believe is a bug.

https://i ...
by Treiger
Thu Oct 11, 2018 2:01 am
Forum: Amplify Shader Editor
Topic: Sprite Crossfade Shader Help
Replies: 11
Views: 10564

Re: Sprite Crossfade Shader Help

Hi Borba,

I'm on Unity 2017.4.7f1 and Amplify 1.5.6. It happens in editor and play mode. I made a Windows build, and it was completely fine. In play mode, there is a bit of an increase in the core utilization when I'm letting the script change the fade amount value, and a huge increase when I ...
by Treiger
Wed Oct 10, 2018 4:09 am
Forum: Amplify Shader Editor
Topic: Sprite Crossfade Shader Help
Replies: 11
Views: 10564

Re: Sprite Crossfade Shader Help

Okay, so I made the Mesh Type of the sprites "Full Rect" and now it's working properly. The problem now is that when I'm adjusting the fade slider back and forth, I noticed one of my CPU cores (and only one) spiking to near 100% usage and it's causing stuttering in the effect. Is it supposed to be ...
by Treiger
Tue Oct 09, 2018 6:40 am
Forum: Amplify Shader Editor
Topic: Sprite Crossfade Shader Help
Replies: 11
Views: 10564

Sprite Crossfade Shader Help

Hello,

I'm a bit of a noobie to shaders and so far, I setup this shader that lets me crossfade between two sprites using the Sprite Template:

https://i.imgur.com/IQlW5UU.png

The crossfading part works just fine, but I found that the main texture of the sprite (from the Template Parameters) is ...