Skip to content

Instantly share code, notes, and snippets.

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;