Search found 3 matches

by Thayoost
Wed Jun 21, 2017 10:21 pm
Forum: Amplify Shader Editor
Topic: Creating color from 4 floats
Replies: 4
Views: 3037

Re: Creating color from 4 floats

I couldn't resist testing a bit more before hitting the sack. I may have found a bug, or I'm just using the system wrong.

When I use the same shader function 3 times, the generated code creates duplicate variables which gets me the error:
declaration of "ifLocalVar16" conflicts with : d3d9 49

Here ...
by Thayoost
Wed Jun 21, 2017 10:05 pm
Forum: Amplify Shader Editor
Topic: Creating color from 4 floats
Replies: 4
Views: 3037

Re: Creating color from 4 floats

That's exactly what I needed. Missed that for some reason..
It doesn't work as expected, but good chance that's in my shader functions.. I'll check those out tomorrow..

Thanks for the quick reply! :D
TY
by Thayoost
Wed Jun 21, 2017 8:48 pm
Forum: Amplify Shader Editor
Topic: Creating color from 4 floats
Replies: 4
Views: 3037

Creating color from 4 floats

Hello,

Amplify has so far proven to be a good basis for building up some shader skills, thanks for providing this product. I've now hit a bump I was hoping you could help me with.

I am using the RGBA channels of different textures and running separate mathematical functions on each channel using ...