Shaders / 2D

Just starting out? Need help? Post your questions and find answers here.
BillBoard_67
User
User
Posts: 10
Joined: Wed Feb 21, 2024 9:57 am

Shaders / 2D

Post 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
User avatar
idle
Always Here
Always Here
Posts: 6031
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Shaders / 2D

Post 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
Post Reply