emission color not working - emitcolorr, emitcolorb, emitcolorg

   2989   4   0
User Avatar
Member
125 posts
Joined: April 2014
Offline
I am stumped why my set up is not working.

On a simple level I have a cube and want various faces to have an emissive material.
I can control the intensity of the emission as expected with @emitint.

However I am getting no result from changing the emit color parameter - emitcolorg, emitcolorb and emitcolorr

these parameter/variable are clearly reaching the end of the network but are having no effect in the render.
Yet emitint is having an effect.

Using the Principled shader and I can set the emit color “manually” in the shader interface and see it in the render.

any ideas why this is not working?

All nodes are set to Primitive, I've tried promoting the attributes to points, etc
User Avatar
Member
125 posts
Joined: April 2014
Offline
here is a sample scene that I am working with

Attachments:
emitcolor.hip (304.5 KB)

User Avatar
Member
7803 posts
Joined: Sept. 2011
Offline
Works for me. Did you make a 3 element float attribute called “emitcolor”? This is the default type if you bind to a vector, or use an attribute expression sop set to custom vector.
User Avatar
Member
125 posts
Joined: April 2014
Offline
awh- thank you so much
It seemed to me that the parameter tip was implying that it took 3 individual floats - emitcolorr, emitcolorg and emitcolorb
User Avatar
Member
7803 posts
Joined: Sept. 2011
Offline
Those are the names for referencing the individual parameter components directly.
Edited by jsmack - March 21, 2017 21:08:00
  • Quick Links