   How to convert float to GLubyte?
  HiI have a color component intensity say: R, G, B values between 0.0 and 1.0. How can I convert this to GLubyte range (0 - 255) ?   
  GLubyte ubyteComponent = static_cast<GLubyte>(floatComponent * 255.f);   ;  Now that's an impressive piece of code   ;  thx its never comes to my mind that using C++ casting   