// fragment shader
varying vec2 v_vTexcoord;
varying vec4 v_vColour;
uniform float grain_time;
uniform float grain_intensity;
float rand(vec2 co) {
return fract(sin(dot(co.xy, vec2(12.93588361, 78.2333))) * 43758.54213);
}
void main()
{
float grain = grain_intensity * rand( grain_time + v_vTexcoord);
vec4 colour = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord );
colour.rgb += grain;
gl_FragColor = colour;
}
my first (low tier) gamemaker studio tutorial
🎵Music🎵
https://open.spotify.com/artist/32SPa...
gamemaker studio 2 (low tier) tutorial explaining how to write your own grain shader.
like, comment, share, consume, multiply, sell the video. thx💚
#greencream
✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌
Hello I am lars. I do art/writing/code/design for a game studio called: Knuist & Perzik, created Wuppo (the best game ever). But this youtube channel is where I upload music & other bad content. Hope you enjoy.
games 🎮 ➤ http://knuistperzik.com/
music 🎵 ➤ https://open.spotify.com/artist/32SPa...
videos 📹 ➤ https://www.youtube.com/greencream?su... (subscribe)
#plsbuywuppo = http://store.steampowered.com/app/400... 🙏
📣I hardly enjoy posting on social media📣
➤ Twitter 🦅: / greencream
➤ Facebook 🗣️📗: / greencreamreal
➤ Instagram 🤮🤳: / greencreamreal