Fix a bug in the rendertotex which happens on the NVIDIA display adapter.

Material.Ks and Material.Shininess could not be set to 0.0f.