Page 1 of 1

Shaders / 2D

Posted: Tue Mar 05, 2024 11:24 pm
by BillBoard_67
Hi Everyone,

My question is about applying shaders to sprites in a Screen (in a simple 2D context).

Let's say we have a layer where a series of sprites are supposed to be displayed (in a windowscreen ) and to which we would like to apply a shader. then a 2nd layer of new sprites where another shader must be applied, and so on....

How can this be achieved in PB ?!

Someone to help ?! Some piece of code ?!

Thanks for your answers

Re: Shaders / 2D

Posted: Wed Mar 06, 2024 11:06 pm
by idle
sorry I can't really give you a definitive answer but try a search for "shader sprites" you will come with a lot of references.
At the moment I don't think you can use shaders with the 2D sprite system but you can of course use 3Dengine or Opengl