Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
grayscale.h File Reference

Go to the source code of this file.

Functions

vec3 grayscale (vec3 c)
 

Function Documentation

vec3 grayscale ( vec3  c)
21 {
22  float v = c.r*0.299 + c.g*0.587 + c.b*0.114;
23  return vec3(v);
24 }