Drawing a citro2d scene with 2 shaders?

Post Reply
TheGag96
Posts: 6
Joined: Wed Oct 23, 2019 1:33 am

Drawing a citro2d scene with 2 shaders?

Post by TheGag96 » Tue Sep 14, 2021 4:18 am

Hi, all. In trying to create an effect for the homebrew I'm working on, I created an example where I modified citro2d to use a shader I wrote. I then tried extending citro2d to be able to use one of two shaders at will, and created a scene where I draw some sprites with one shader then switch to using the other. The moment I attempt to draw something with the other shader active, the GPU hangs when running on real hardware. On Citra, everything works as I intend.

I'm really at my wit's end. Anyone have any idea as to what kinds of stuff hangs the GPU? It baffles me because the composite-scene example in the 3ds-examples repo I'm taking cues from of course works just fine...

Thanks!!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest