Eevee: Volumetrics: Support Smoke simulation textures.
authorClément Foucault <foucault.clem@gmail.com>
Fri, 27 Oct 2017 20:35:48 +0000 (22:35 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 27 Oct 2017 20:49:15 +0000 (22:49 +0200)
commitbc7c0335dc7e1cae93c3f4b7bfdaa02f2cae6128
treeb4572a93fbabe2956d14eec5f6dd69590bb53ac4
parent4f7665c84410e9e25360b0d80ce073c54242e5d4
Eevee: Volumetrics: Support Smoke simulation textures.

It should behave like cycles.

Even if not efficient at all, we still do the same create - draw - free process that was done in the old viewport to save vram (maybe not really the case now) and not care about simulation's GPU texture state sync.
source/blender/draw/engines/eevee/eevee_effects.c
source/blender/draw/engines/eevee/eevee_engine.c
source/blender/draw/engines/eevee/eevee_private.h
source/blender/gpu/GPU_material.h
source/blender/gpu/intern/gpu_codegen.c
source/blender/gpu/intern/gpu_draw.c
source/blender/gpu/intern/gpu_material.c
source/blender/gpu/shaders/gpu_shader_material.glsl
source/blender/nodes/shader/nodes/node_shader_attribute.c