Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Very interested in figuring out how to export shaders as spritesheets/png's, you implemented that in this project flawlessly, seems like you incorporated another github project to do this.  Were there any online resources that helped you with this?  Poked and prodded at your project a bit and trying to work through a course on shaders, but my brain struggles to wrap my head around how you pulled it off.  Amazing work!

That part wasn't super straightforward, but the way it basically works is that the program sets a time value on the shader, then copies the image output of that shader to somewhere else, and then advances the time value every frame until a full rotation is done.

As you noticed I used another project to save all of those separate frames to a gif, and I have a custom implementation for just stacking all those images together in a spritesheet. But I didn't really use any resources to come up with that, it just seemed like the easiest way to do it.

Hope that makes sense!