GarrettGunnell / CS2-Smoke-Grenades

My recreation of CS2's responsive smoke grenades in Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Counter Strike 2 Smoke Grenades

by Garrett Gunnell

This is the code associated with my video explaining the implementation here

Disclaimer

This is not a production ready asset. Please do not use it as a production ready asset.

Features

  • Voxel Based Propagation (Limited Flood Fill)
  • Mesh Voxelizer
  • Generalized Volume Ray Marcher
  • Tiled Worley Noise Generator
  • SDF Based Smoke Deformation (Not Performant)

Examples

example1 example2

About

My recreation of CS2's responsive smoke grenades in Unity


Languages

Language:C# 78.2%Language:ShaderLab 21.8%