Fix errors relating to casting floats
Check mask in fragment shader and discard
Fix errors about casting
Merge pull request #1 from michaeladams/nvidia-support

Nvidia support