Hi guys,
I was looking through the shader codes and found this one really interesting
: http://goo.gl/8LJOfA posted by Icy Spark
Was wondering if there is a way to apply this to an image?
i.e how could i incorporate texturesampler0 into this?
Thank you.
One way is to change the last line to
return CoronaColorScale(vec4(texture2D(CoronaSampler0, texCoord).rgb \* col\*texcol,1.0));
This is kind of fun too:
return CoronaColorScale(vec4(texture2D(CoronaSampler0, texCoord + (col\*texcol).xy).rgb \* col,1.0));
or
return CoronaColorScale(vec4(texture2D(CoronaSampler0, texCoord + (col.zyx\*texcol).xy).rgb \* col,1.0));
(Other swizzlings of col give interesting results too.)
Wow they all look amazing.
Thanks a lot 
One way is to change the last line to
return CoronaColorScale(vec4(texture2D(CoronaSampler0, texCoord).rgb \* col\*texcol,1.0));
This is kind of fun too:
return CoronaColorScale(vec4(texture2D(CoronaSampler0, texCoord + (col\*texcol).xy).rgb \* col,1.0));
or
return CoronaColorScale(vec4(texture2D(CoronaSampler0, texCoord + (col.zyx\*texcol).xy).rgb \* col,1.0));
(Other swizzlings of col give interesting results too.)
Wow they all look amazing.
Thanks a lot 