Export to GitHub

fofix - issue #1215

neck.vert shader incorrectly multiplies float by int


Posted on Aug 22, 2010 by Swift Camel

neck.vert shader multiplies 'time' by '10', but time is float and 10 is integer. It's not critical error (it works on nvidia drivers AFAIK), but is not valid by GLSL spec, and fails to compile on some drivers (e.g. mesa master).

How to fix: change '10' to '10.0'.

Comment #1

Posted on Sep 1, 2010 by Happy Lion

Fixed, thank you! http://github.com/stump/fofix/commit/568fb3aeca646458be9d59bbe96fedc4a3e29e21

Status: Fixed

Labels:
Priority-Low