chickadee » hyperscene » make-material

make-material R G B SHININESSprocedure

Make a simple material definition consisting of an RGB color (specular color, perhaps) and shininess value. Returns a four element f32vector, located in non-garbage-collected memory. Intended for use as a uniform value.