I am trying to assign a material to the smoke simulation I have created.
For creating the simulation I added a cube, and I click object->quick effect->quick Smoke.
Then I have setted the smoke parameters and started the simulation.
I can't assign any material to the smoke domain, or to the smoke itself, it remains purple in color.
Also adding a principled volume in "Shader Editor" has no effect at all on the purple color of the volume.
I attach 2 images to show what I am trying to explain.
-
$\begingroup$ IIRC Smoke generates particles, so a principled shader hooked to the the surface input works better than a a principled volume hooked to the volume input. Have you tried that? $\endgroup$– Marty FoutsNov 5, 2021 at 18:37
-
$\begingroup$ Quicksmoke operator doesn't produce any particles. The smoke simulator uses a voxel-based volume, which is accessed via the volume socket of the material output node. $\endgroup$– L0LockNov 5, 2021 at 18:58
1 Answer
Your shader assignment looks correct to me.
I suspect the purple color does not come from the smoke shader itself, but rather from a missing texture somewhere else like the world shader for example. Could you check that ?
Otherwise, a simple test could be to open a new fresh scene, do a quicksmoke on the default cube, setup the domain shader ans see how it goes. If it still fails, then maybe it's a bug.
-
$\begingroup$ Thanks, the world environmental shader was the issue. I unplugged it from the environmental output, re-opened the hdr image, plug it again, and the issue was resolved. $\endgroup$ Nov 7, 2021 at 8:28