Unlit meshes

Blitz3D Forums/Blitz3D Programming/Unlit meshes

jfk EO-11110(Posted 2006) [#1]
Is there a way from excluding a mesh from the lights, other than set it to fullbright? fulldark so to say?


OJay(Posted 2006) [#2]
entitycolor 0,0,0?


jfk EO-11110(Posted 2006) [#3]
well that would make it black. You know, when there's a mesh in a scene, but no lights, it's fulldark. Entitycolor will reduce the RGB channels, so entitycolor 127,127,127 will make both; 127,127,127 and 64,64,64 would both become black.


jhocking(Posted 2006) [#4]
What? "Fulldark"?

when there's a mesh in a scene, but no lights

You mean the mesh is lit only by ambient light? If you don't call AmbientLight, Blitz defaults the ambient light to 128,128,128. You could set your mesh to fullbright and then EntityColor to grey. Is that what you want?


jfk EO-11110(Posted 2006) [#5]
well, yes, I think that's it. Thanks a lot! And thanks to OJay too, so you where right too.