Fragment shader for costmap-visual.
More...
|
vec2 | colorToCoord (const vec4 color) |
|
float | hasSeed (vec4 cell) |
|
float | computeDistance (const vec2 coord, const vec4 otherCell) |
|
vec4 | costFunction (const float cellDistance) |
|
void | main () |
|
|
uniform float | resolution |
|
uniform sampler2D | texture_unit |
|
in vec2 | tex_coord |
|
out vec4 | frag_color |
|
const float | INFINITY = 1e8 |
|
const float | weight = 2.f |
|
const float | inscribed_radius = 8.f |
|
const float | cutoff = 25.f |
|
Fragment shader for costmap-visual.
- Author
- Stefan Osswald
- Date
- 2018
The documentation for this class was generated from the following file:
- shaders/costmap-visual/fragment.shader