Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

7
When should and shouldn't I use shaders? Along with a few other questions.
Post Body

I'm pretty new to Gamemakerstudio 2 and I aspire to make something on this platform, but I'm still a novice with many parts of the program. I've heard about shaders and I know that they draw stuff through the gpu, but does the draw functions do the same or am I mistaken. Along with that, when should I be using shaders and when should I do draw events if there is an importance in its separation. Whenever I search it up, I see people say how shaders are extremely important and that they use it a lot, but I don't know if it should be used when I draw the sprite or particles or general effects. Along with that, is there any good tutorials to help learn how to use the vertex and fragment shaders and have games such as undertale relied on shaders a lot or a mix between built-in draw functions?

The questions I am asking (so it is clear):

  • Difference between built in draw functoons and shader events
  • What should shader events be used for
  • What should shader events be passed up for compared to other option such as draw events
  • Do games like Undertale use shaders a lot

Sorry for the jumbled English, I know that a lot of this is most likely gramatically incorrect, but it's a burning question in my mind and I don't really have the time to make sure this sounds perfect. If there's any clarification needed, just ask and I'll be sure to respond when I can. I am currently doing Shaun Spaldings programming tutorials (really does help me learn the api well) and the shader part has thrown me into a rabbit hole so I can learn how to optimize graphics well.

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,740
Link Karma
158
Comment Karma
4,321
Profile updated: 2 days ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago