Lighting the inside of an object

I have a a ofBoxPrimitive that will light up when the light is on the outside, but not when the light is on the inside. Is there a way to invert the normals? or is it that the material is set just on the outside and I nee to set it on the inside?

You’re right you just need to flip the normals on the mesh itself
, or write the shader to be double sided.

I’m new to oF, trying to get set up today, but maybe setNormal could be the one?

in the past I’ve had luck using some variation of this


to do two sided lighting.

i think that’s it yeh. get the normal, reverse it, reset it.

I’ve gone with 6 planes instead though.