Emission question

Hi
I am tryiing to add some self illumination via the emission and I saw someone do this kind of flow and I think it should work but I am getting an error(Magma Could not match inputs to valid combination: | ID: 7 |) in the blend node unless I set the result type to mono. but it dosen’t seem to be sending the emission channel up the stack. I have use emission turned on.

For the color I am using a material with a gradient map to the color and using the velocity to multiply the colors.

Thanks

Several things to try:

*Try using Max Noise instead of a BerconNoise map - does it make a difference? I haven’t used Bercon maps in Magma flows and don’t know if there are any Gotchas…
*Try switching the Texture mode to Color instead of Mono and add a Magnitude after it to make it a float again - does that work?
*What build of Krakatoa are you using - there could be a problem with the texture map evaluation in general in your build.

This got rid of the error message and I can see the colors in the viewport it seems to do the same thing with standard noise map as well.

I think I figured it out thought its to do with the order of evaluation again.

I have a
PRT (with standard material applied)
KCM (which multplies the colors from the material according to velocity)
KCM emission (which was supposed to blend colors based on a noise map)

I think that the standard material is overiding the colors therefore i am not seeing the emission. This also meant my second kcm is was not working as expected. So I removed the material from the PRT and applied it to the second KCM as a texinput. Applying a material straight to the PRT objects dosent seem to be the way to go if you plan to use a KCM to adjust colors.

It is starting to sink in, I see :slight_smile:
Yes, a Material assigned to a PRT object will OVERRIDE anything shading-related (Color, Emission, Absorption, and will multiply the Density by Opacity) coming up the stack, unless a Krakatoa Material is used. The Krakatoa Material is technically-speaking a KCM that can optionally override specific channels.