material in asset,

   1883   1   0
User Avatar
Member
1145 posts
Joined: July 2005
Offline
I've embedded a material in a sop level digital asset. I've added a switch in my asset interface so I can switch the model from untextured to textured. All works fine until I put a light in.
As an example; I put a spot light in and move it real close to the object to make the lighting obvious, the untextured model displays and renders as expected. When I switch to the model with the embedded material, it doesn't react to the light, either in the viewport or render.

The switch sop is below the untextured model and the material sop, and it has the display/render flag set on it.

What have I missed?
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
User Avatar
Member
1145 posts
Joined: July 2005
Offline
Never mind, it was just me being slow witted.
I didn't account for the diffuse lighting in my shader and I forgot that I had turned off “OGL use lighting”.
sigh ops:
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
  • Quick Links