# Niagara RasterizationGrid3D Data Interface

**URL:** <https://forums.unrealengine.com/t/niagara-rasterizationgrid3d-data-interface/502692>\
**Category:** FX\
**Tags:** unreal-engine, UE5-0\
**Created:** [February 28, 2022, 2:31am UTC](https://forums.unrealengine.com/t/niagara-rasterizationgrid3d-data-interface/502692 "2022-02-28T02:31:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LitTwilight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LitTwilight](https://forums.unrealengine.com/u/LitTwilight)\
**Post date:** [February 28, 2022, 2:31am UTC](https://forums.unrealengine.com/t/niagara-rasterizationgrid3d-data-interface/502692/1 "2022-02-28T02:31:32Z")

</div>

I found there is a new Data Interface for Niagara System,it called RastrizationGrid3D.I have been using Grid3d for a while in Simulation stage to sample the particle and write it to the volume texture.But when UE5 preview 1 release.I found the Niagara Fluid is using a new Data Interface called RastrizationGrid3D.What is different between the Grid3D Collection and RastrizationGrid3D?Personally i thought the RastrizationGrid3D is using the GPU parallel to init the value but Grid3D Collection relay on the CPU write data to GPU.I don`t konw whether i was right?Could some one tell me the difference between RastrizationGrid3D and Grid3D Collection?

---

<div class="post-metadata">

**Author:** ![dmpvfx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dmpvfx](https://forums.unrealengine.com/u/dmpvfx)\
**Post date:** [March 1, 2022, 4:53am UTC](https://forums.unrealengine.com/t/niagara-rasterizationgrid3d-data-interface/502692/2 "2022-03-01T04:53:39Z")

</div>

The RasterizationGrid3D is specifically designed for scattered writes in cases where your simulation stage is iterating over particles and you want to splat them into a grid. It wraps up an integer grid and uses interlocked operations in order to accumulate values. The Grid3DCollection does not support these interlocked operations and only stores float/vector, etc attributes. The fluid solvers in NiagaraFluids use the RasterizationGrid3D to transfer particle values to the grid, then it uses the Grid3DCollection to perform the actual simulation logic.
