0 like 0 dislike
337 views
I was able to feed LifeRatio to custom shader, but not an extra color field. Are we limited to fields that out of box shaders offer?

Using Unity.
by

1 Answer

1 like 0 dislike
 
Best answer

Hi,

all fields should works.

I just tried with a custom color field with a DX11 custom shader and it's working.
You can find the shader here : http://pastebin.com/f9FRtRXK

Which graphics api are you using ?

by Valentin (7.1k points)
ach so, I tried
float4  CSColor     : COLOR;

but looks like it has to be
float4  CSColor     : TEXCOORD1;

Thanks :)
So, can we somehow get custom shaders working in popcorn editor? For accurate preview.
They are not implemented in the editor yet. They will be in the editor v2 next year.
...