Page 1 of 1

Shader layers

PostPosted: 07 Mar 2020, 13:13
by mrange
I think shader brushes are intriguing and cool.

A natural extension to me seem to be able to do layer transforms using shaders.

There are many interesting layer global effects that could be coded I think. Coordinate transform distortions. Procedural textures. Color distortions.

I realize there might be compllcation that I overlook but to me it would be a cool and enabling feature fitting fo Black Ink.

Re: Shader layers

PostPosted: 22 Mar 2020, 12:28
by u2bleank
this will come for sure :D ...
The problem for coordinates distortion in Layer composition is cache coherency and performance about that.. but it's the same problem with the BSL when you want to sample the color of the destination buffer with some offset.
I handle the problem by saying at the beginning of the Shader : "I want data that will be as far as N pixel from the current position"