• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

shaders

  1. G

    GML [Solved] Suggestions on how to create an "scratch-off ticket"-like effect

    Hello everyone! I want to create something like one of those "scratch off" tickets, where you uncover a portion of a graphic based on where the mouse is. I thought about using a surface to help create a mask, but since they are volatile, all the uncovered bits are lost when focus is lost. I...
  2. EL0FBRENO

    GameMaker How to NOT draw vertices from a Vertex Buffer using a shader

    I want to stop drawing the face of a cube if there's another one beside it, like it's done in minecraft for optimization. But i want to do that using shaders, because the shaders run in gpu instead of the cpu, that makes it run faster etc. etc. Besides that the vertex buffers are a bit annoying...
  3. David Lorenz

    GML Outline Shader with draw_sprite_part

    Hello, everyone! I've been using various outline shaders to draw outlines around sprites for a long time. My problem is that I'm totally clueless about how to draw outlines on sprites drawn with draw_sprite_part... :/ Any suggestion is appreciated! :)
  4. M

    Shaders Help with CRT Effect

    I've been looking all over to find a way to make a CRT effect similar to the one below but I can't find anything. Can I get some help on how I could do this?
  5. Yaazarai

    Graphics Global Irradiance (Better 2D GI, Lighting)

    GM Version: GMS2, IDE 2023.6.0.92 Target Platform: Any That Support GLSL ES Difficulty: Very Advanced Github: Repository Pre-Reqs / Source: Godot Tutorial & Original Tutorial Around this time last year I posted a short advanced tutorial on 2D Global Illumination... I was never happy with it and...
  6. Misu

    Asset - Shaders MORPH! - Create simple image transformations!

    Create simple transformations for Sprites, Texts, Surfaces, and Room transitions! From swirly animations, to resize shift-shaping, it's all in the power of this shader! Check it out: Almost 90% of that moving in the GIF is actually performed with MORPH! It's also perfect for making space...
  7. FoxyOfJungle

    Asset - Graphics HDR Mode - render particles/vfx/bloom without affecting the game's pixel artwork!

    This compact library lets you render particles and other visual effects without affecting the game's pixel artwork. - This is extremely useful if your game has art with high saturated colors and you still want to use Bloom for cool particle effects. Below you can compare 👀 Why you need this...
  8. DevDumb

    Trying to decrease the batch breaks.

    Hello, I'm having a problem with the shader_set. I was reading this article: https://gamemaker.io/en/blog/forager-optimization-in-gamemaker, and I realized that I made the mistake of in each instance that used the shader shd_entities I used the shadet_set individually for each one , then I made...
  9. RyanC

    Shaders Getting Reliable Results between Operating Systems when using Shaders

    Hi everyone, Does anyone know what causes the differences between Windows and Android when using full screen shaders. The other day I must have worked for 16 hours attempting to acheive the same effect on mobile vs Windows for a water shader that basically draws the background with certain...
  10. UEG_Productions

    SOLVED Creating a glow effect for specific pixels

    I am working on a level that has a cyberpunk-style city: I want it to look more like this: I am not entirely sure how I would make certain pixels "emit light" or "glow." I have looked everywhere on some sort of tutorial to achieve this effect but couldn't find anything. I know I could use...
  11. M

    Background Weird...ness?

    When I run my project, the backgrounds look like this [image attached] I am using the Colourize Effect for the Background Layers. why is this happening? Thanks!
  12. DevDumb

    Shaders problems with if

    the function of this shader is to leave a sprite in grayscale and also decrease the alpha and make a "waves" movement at the bottom of the sprite (when v_vTexcoord.y > .5) but that if for some reason is always being true , even at the top of the sprite (which shouldn't be true as the...
  13. Evanski

    GameMaker Way to prevent shaders from compiling for EVERY run?

    I'm using a shader effects library tool, Its great however I was wondering if there is a way to prevent GM spending 5minutes compiling all the shaders because I just changed a variable for a test Is their someway to lower the amount of times GM compiles the shaders or maybe use precompiled shaders?
  14. M

    Question - IDE Shader "layering"

    This is a very specific issue so i'm not fully sure I am asking in the correct forum, but anyhow; Is there any way to make shaders in an inferior level to an object layer? Or will they always just be drawn on the top most layer? if so, is there any way to mask out an object from the shader...
  15. L

    GameMaker Why do filters do this? Are they just "basic" after all?

    Just a quick question. I apllied a distort filter to a few background and assets layers, and whenever I move my custom camera, which sets a view, the filters "move weirdly", as if they track the camera's view movement and are not applied to the whole room. This behavior seems super-strange to...
  16. dwaap

    SOLVED About Post-Processing...

    Alright, so I've been trying again and again to get a simple glow effect in my game. Seems like it didn't work. I've tried multiple shaders and ways to get that simple glow effect on white colors, but because of my knowledge i failed pretty well. All I want is a simple glow effect on my...
  17. m00sio

    Shaders Confusing Compile Error with a Shader

    Compile Errors Fragment Shader: shd_test at line 51 : '' Context for ScreenY (Which is Line 50): float ScreenY = 1.0 - sin(-(x * waves2 + offset) * delta) * zoom2; Line 51: posTex = v_vTexcoord + vec2(0.0, (2.0 - 2.0 * ScreenY) / 2.0); I would like an explanation of that compile error.
  18. Mert

    Job Offer - Programmer Looking for a shader artist for 2D fluid

    Type : Job Offer - Programmer Price Offering : 25$ Hey all! I have a platformer game where I have physics particles(small circles). I want to make them look like a bit realistic like liquidy. This can be a good example I prefer shaders as the performance is a great deal for me(I can even...
  19. Alloi

    Opera GX Net Runner

    Game Link Always Learning This project was a whole new experience for me. And as with all game-jam games, I didn't quite get to do everything I wanted to. Net Runner is my first time using 3D in gamemaker, which was suprisingly not that bad with a lot of useful built-in functions. This game...
  20. Son-Benji

    Color swap shader wont work in html?

    hey guys, I've recently started exporting my games for html, using gamemaker 1.4, but the simple colourswap shaders i have in place throughout my game make no changes whatsoever in the html version. Can someone please explain to me why? why oh why? 🥺 maybe i need to insert something in the code...
Top