diff options
author | Adrian Kummerlaender | 2019-02-23 16:10:08 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2019-02-23 16:10:08 +0100 |
commit | 389da8159978571e8156ff7692bc595d957e846e (patch) | |
tree | bd40ebff4b5f917a2d25ce76b973709922aa7b59 /src/shader/util.h | |
parent | 9779fd7484f7af6d10ae28ca3763c6d938c341e3 (diff) | |
download | compustream-389da8159978571e8156ff7692bc595d957e846e.tar compustream-389da8159978571e8156ff7692bc595d957e846e.tar.gz compustream-389da8159978571e8156ff7692bc595d957e846e.tar.bz2 compustream-389da8159978571e8156ff7692bc595d957e846e.tar.lz compustream-389da8159978571e8156ff7692bc595d957e846e.tar.xz compustream-389da8159978571e8156ff7692bc595d957e846e.tar.zst compustream-389da8159978571e8156ff7692bc595d957e846e.zip |
Store material in fluid buffer and improve visualization
Replaces the density value which is actually not that useful for visualization.
Encoding integer values as floats by casting and comparing them using
exact floating point comparison is not very safe but works out for now.
Diffstat (limited to 'src/shader/util.h')
0 files changed, 0 insertions, 0 deletions