Skip to content

Instantly share code, notes, and snippets.

View joaoluizn's full-sized avatar
👨‍🚀
Coding and Listening to music

João Luiz joaoluizn

👨‍🚀
Coding and Listening to music
View GitHub Profile
shader_type particles;
//render_mode disable_velocity,disable_force,keep_data;
uniform sampler2D map;
uniform float map_mipmap=2.0;
uniform vec2 collider_position;
uniform float collider_radius;
uniform float particle_radius;
uniform float sample_range=5.0;
uniform float sample_step=1.0;

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?