cast int to float explicitly
Merge pull request #39 from zhykzhykzhyk/shader

cast int to float explicitly