shader

  1. jf_knight

    Shaders Glow shader

    I'm trying to implement a glow shader. I want to get the bloom effect without the accompanying "brightness" effect. What can I change to decrease this brightness intensity? It's based on this shader: https://marketplace.yoyogames.com/assets/4729/simple-bloom-shader...
  2. Coco Ezhao

    Tiles replacement (or display?) problem

    Hello everyone! I've started using GMS 2 recently, have ran through manual and related functions and haven't found any solutions to the problem. I use 6*6 world grid, and movement as well as collisions work perfectly fine this way. However, when it comes to terrain tiles, 6*6 is just not enough...
  3. Purple_Shy_Guy

    SOLVED I need to make the character blink after taking damage using a shader

    Hello everyone, I'm working on my first project and I need some help. I wanted to make the character blink (in white) during his invincibility time after taking damage. I created a shader for it and it kinda works. The only problem is that the character becomes white during the whole...
  4. jf_knight

    Shaders Image sharpen shader

    Hello. I'm writing an image sharpening filter in GM2 and need some assistance. I'm not getting any changes on my image when moving a slider tied to "Sharpen". Here's what I have; varying vec2 v_texcoord; uniform vec2 resolution; uniform float Sharpen; void main( ) { vec4 colour =...
  5. FatDazz

    Applying a shader to a camera and camera_set_end_script does not work.

    Hello, I would like to apply a shader on the view of a camera. My ideas for coding it, are as follow. For implied cameras I add a scripts to them at the beginning of the view and another at the end of the view. in the create Obj_Cameras: in the script script_begin: in the script...
  6. David Lorenz

    GMS 2.3+ [SOLVED] Apply shader to a single tile layer as a whole

    Hello everyone! I've been working with Game Maker for almost 2 years now, but I've barely touched shaders and surfaces. Lately I've started playing with both and found myself stuck very often. :/ I want to use a shader only on one tile layer, but I noticed that with the layer_shader and...
  7. FoxyOfJungle

    Asset - Shaders Realtime Gaussian Blur Shader & Pause Menu (GMS 1.4+ and GMS 2.3+)

    With only 1 shader it is possible to make the blur effect realtime, it is a Gaussian effect and does not use two pass blur. With the other shader, it is possible to have more control and several settings (suitable for the Pause Menu). All code is fully customizable, and fully commented...
  8. F

    Shaders HLSL Question About Sampling and Float Summing

    Hi all, I've been messing around with HLSL and ran into some issues with sampling. Before I describe it all I already know how to get my test shader to do what I want it to do, but I'm extremely confused as to why it doesn't work when I try to do it a different way and would really like to know...
  9. zendraw

    GMS 2 blend modes

    so we have a regular sprite with color, but we draw it with blend modes to be all white. can blend modes do that or do i need to make a shader?
  10. duran can

    How many shaders are there in this screenshot?

    You may have heard of the game "genshin impact", its graphics impress me a lot. How many shaders do you think there are on this screen? Can you write shaders know by name?
  11. D

    Android Shader Compilation Error on Android only

    Hi I am using a custom shader which is working fine on macOS platform. But when I try to run my game on Android, the shader_is_compiled() function results in false. My issue is that I am unable to find what is the shader compilation error on Android. There is no information in GMS studio...
  12. Finbox Entertainment

    Shaders [SOLVED] Shader uniform not passing the values to the shader on Android device

    Hello, I have the following code on my main object which draws the sprites. ####################### DRAW EVENT OF MAIN OBJECT ######################### shader_set(shd_colorchange); shader_set_uniform_f(shader_get_uniform(shd_colorchange, "u_v4_wantedColor"), 1.0, 0.0, 1.0)...
  13. Josi Craft's

    Asset - Shaders shader graph for gamemaker?

    are there any of you who know a program just like shader graph but for game maker studio 2.3
  14. Fanatrick

    Asset - Shaders GMDrip - 2D Waterfalls

    Marketplace: https://marketplace.yoyogames.com/assets/9455/gmdrip Description: GMDrip uses shaders to give your textures a good looking flowing drip effect for things like waterfalls in 2D games. Dynamically customizable size, color, alpha, refraction, blurring, translucency, and intensity...
  15. angelwire

    Asset - Scripts AEColorMask - Apply color to sprites with pixel-perfect precision [free]

    AEColorMask is a shader with a collection of scripts that let you apply a color to specific sprite areas using a mask Marketplace Link: https://marketplace.yoyogames.com/assets/9420/aecolormask-recolor-sprites With these scripts and shader you can color objects to add variety to your game...
  16. gats1212

    Blur Shader on Transparent Image

    Hey guys. I'm using a blur shader to ehh blur layers that are closer to the camera. However this process is not working as intended because there are grey outlines. However I was looking why is this happening and I found that this happens because the blur shader is not intended for transparent...
  17. N

    HTML5 build: Fragment shader compilation problem on Chrome

    Hello, I am currently trying to do some performance tests with HTML5, so I have made a very minimalist project that includes: - 0 sprite - 2 objects which draw text, one resizing the game window to somehow fit the browser size - 1 room with a black background and one instance of each objects...
  18. BELLER Lab

    GMS 2 Android Devices shader surface_copy problem

    Hi ! I'm trying to use a black hole shader that I found online (Made by flyingsaucerinvasion) on Android Device, the shader code is pretty simple (I just modified it to do a simple Alpha Transition) but the problem come from the Draw Event of the Black Hole : if(!surface_exists(surf)) surf =...
  19. O

    SOLVED Loading a surface texture into a shader

    Hi All, I'm pretty new to shaders, and relatively new to coding (this is my first game) so this may be really simple to solve. Basically, I'm making a top down space combat game (think asteroids type movement), where one of the ships can produce a "Gravity Wave". I want this effect to be...
  20. GoldenLeaf

    GMS 2 Newbie Needs Helping Drawing Shapes with Shaders

    So real quick, this is my first post on here and my first attempt at a project, so I apologize in advance if this has been covered before, if this is in the wrong section, if there is some formatting or other nuances I get incorrect, or if I just flat out sound dumb, lol. Noob trying to learn...
Top