replaced SetMaterialFloat with SetFloat

Otherwise we'd get some nasty error spam and that's not something we
want!