Sharing some of my compute shader result. Hope it help to growth the monogame community.
Note* The demo base on Sharpdx Tuitorial 12 code. Currently only work in buffer type, still try figure out how to make it in texture2d
Sharing some of my compute shader result. Hope it help to growth the monogame community.
Note* The demo base on Sharpdx Tuitorial 12 code. Currently only work in buffer type, still try figure out how to make it in texture2d
In case anyone is wondering, you can copy RWTexture2D buffer bytes into a Color[] array with SharpDX.Utilities.Read or other memory utility, and create a Texture2D from it. It’s maybe not the best way, but it’s what I got working for now.
Ooh interesting, I did a blog post on compute shades in Unity, be interesting to have a play with them in MG too