BlondeBurrito / bevy_flowfield_tiles_plugin

Bevy plugin for Flowfield based pathfinding
Other
48 stars 3 forks source link

Investigate GPU-ing #68

Open BlondeBurrito opened 1 month ago

BlondeBurrito commented 1 month ago

Currently all calculations happen the the CPU, through the use of shaders could the main calculations/field propagation run on a GPU instead?

Flow field is MxN array, instead of a CPU chomping away calculating the value of each cell surely a shader based calculation could simultaneously calculate all values as it could read all 100 cells at the same time in the integration field and produce the flow field