Skip to content

Tutorial recommendation: Basic 2D shaders. #88

Open
@JamesC01

Description

@JamesC01

I've currently been trying to figure out how to get 2D pixel shaders working in Monogame, and I can't seem to find a simple way to do it. I found this article: https://gmjosack.github.io/posts/my-first-2d-pixel-shaders-part-1/ which is ideal, it starts off with the bare minimum and slowly builds up, but sadly it doesn't seem to be working.

Having a simple tutorial like that, showing you how to make basic 2D shaders for either the entire screen or individual sprites would be very useful. I've searched quite a bit, and I can't find anything as simple as that article series. They're all either for 3D, or are bigger more complex examples.

After a bit more searching, I found an updated version of the tutorial that seems to work on the monogame forum: https://community.monogame.net/t/writing-your-own-2d-pixel-shader-in-monogame-for-absolute-beginners/10883

But still, I feel like this is a very useful and essential tutorial to make. Almost any 2D game beyond basic examples uses shaders/effects in some way, so having a nice tutorial showing how to get up and running with them would be great. I may try to make it myself, but I'm completely new to using shaders with monogame, so I might get something wrong. Hopefully there's someone here with more knowledge that could do a good job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions