OpenVDBForUnity icon indicating copy to clipboard operation
OpenVDBForUnity copied to clipboard

[Suggestion] ability to reading Fire/Smoke channels and changing their colors ...

Open davoodkharmanzar opened this issue 6 years ago • 6 comments

it would be great if be able to reading Fire/Smoke channels of vdb and changing their colors , something like this:

rendering-realistic-explosion-and-smoke-in-v-ray-for-3ds-max-1

davoodkharmanzar avatar Sep 14 '18 11:09 davoodkharmanzar

Thank you for your nice suggestions! I plan to add 3 channels(temperature, heat, velocity).

karasusan avatar Sep 16 '18 07:09 karasusan

This shader is interesting!

screen shot 2018-09-17 at 10 41 17 pm

It is difficult for me to find any documentation of HDRP... I want to add the functions that cast shadows to other object, but I can't. The reason is that it is so hard to understand HDRP shading!

Maybe you know this doc. This doc is Unity's official.

And I read the shader programs in keijiro's repo. https://github.com/keijiro/TestbedHDRP

karasusan avatar Sep 17 '18 13:09 karasusan

SRP shader has to have a "RenderPipeline" tag. It's explained in details below. https://forum.unity.com/threads/hdrp-no-custom-shaders.546433/#post-3605688

karasusan avatar Sep 17 '18 14:09 karasusan

Oh, I'm sorry, I misunderstood. I took the screenshot that I used legacy render pipeline. I will check it on HDRP in this week. I'll need a little more time to check about this.

karasusan avatar Sep 17 '18 14:09 karasusan

I checked your shader on HDRP and did not work correctly too. 😭 This is probably a mistake how to use multi-pass on HDRP. You might want to rewrite the shader code to the for-statement.

karasusan avatar Sep 22 '18 07:09 karasusan

I checked your shader on HDRP and did not work correctly too. 😭 This is probably a mistake how to use multi-pass on HDRP. You might want to rewrite the shader code to the for-statement.

thanks for your response 👍

davoodkharmanzar avatar Sep 22 '18 07:09 davoodkharmanzar