3D picking float value error fixed.

This commit is contained in:
Tleety
2015-12-09 10:44:06 +01:00
parent c717dd7049
commit eb9c217eb4
4 changed files with 58 additions and 26 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ out vec4 TextureFragment;
void main()
{
TextureFragment = vec4(PickingColor, 0, 1);
TextureFragment = vec4(PickingColor/255, 0, 1);
}