Neil Roberts
0ab6dc9db1
cogl-material: Don't map the shininess value to [0,1]
...
In OpenGL the 'shininess' lighting parameter is floating point value
limited to the range 0.0→128.0. This number is used to affect the size
of the specular highlight. Cogl materials used to only accept a number
between 0.0 and 1.0 which then gets multiplied by 128.0 before sending
to GL. I think the assumption was that this is just a weird GL quirk
so we don't expose it. However the value is used as an exponent to
raise the attenuation to a power so there is no conceptual limit to
the value.
This removes the mapping and changes some of the documentation.
http://bugzilla.clutter-project.org/show_bug.cgi?id=2222
2010-07-22 17:52:51 +01:00
..
2010-07-15 17:27:15 +01:00
2010-07-01 20:39:57 +01:00
2010-07-13 19:26:58 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:25:36 +01:00
2010-07-15 17:27:15 +01:00
2010-07-15 17:27:15 +01:00
2010-07-13 14:28:45 +01:00
2010-05-24 16:10:56 +01:00
2010-05-24 16:10:56 +01:00
2010-06-15 15:26:27 +01:00
2010-06-15 15:26:27 +01:00
2010-07-07 14:08:11 +01:00
2010-07-07 14:08:11 +01:00
2010-07-07 14:08:11 +01:00
2010-07-09 18:57:54 +01:00
2010-06-01 12:20:59 +01:00
2010-07-07 14:41:54 +01:00
2010-04-15 14:51:01 +01:00
2010-06-15 15:26:27 +01:00
2010-06-15 15:26:27 +01:00
2010-06-15 15:26:27 +01:00
2010-07-13 19:26:58 +01:00
2010-07-08 16:34:30 +01:00
2010-07-15 17:27:15 +01:00
2010-07-15 17:27:15 +01:00
2010-07-13 14:28:51 +01:00
2010-03-01 12:56:10 +00:00
2009-10-16 18:58:50 +01:00
2009-10-16 18:58:50 +01:00
2010-06-22 12:22:43 +01:00
2010-06-22 12:22:43 +01:00
2010-03-01 12:56:10 +00:00
2010-06-01 12:08:18 +01:00
2010-07-07 14:41:54 +01:00
2010-07-09 18:57:54 +01:00
2010-06-04 14:44:15 +01:00
2010-06-22 12:20:59 +01:00
2010-06-15 15:26:27 +01:00
2010-07-13 19:26:58 +01:00
2010-06-30 15:04:10 +01:00
2010-07-18 11:01:05 +01:00
2010-06-30 15:04:10 +01:00
2010-07-13 19:26:58 +01:00
2010-06-30 15:04:10 +01:00
2010-07-05 14:50:47 +01:00
2010-07-13 19:26:58 +01:00
2010-07-22 17:52:51 +01:00
2010-07-13 19:26:58 +01:00
2010-07-22 17:52:51 +01:00
2010-07-22 17:52:51 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-06-09 15:19:31 +01:00
2010-06-09 15:19:31 +01:00
2010-07-09 18:57:54 +01:00
2010-06-04 14:44:15 +01:00
2010-06-04 14:44:15 +01:00
2010-03-01 12:56:10 +00:00
2010-06-29 20:37:14 +01:00
2010-07-13 19:26:58 +01:00
2010-06-29 20:37:14 +01:00
2010-07-07 14:08:11 +01:00
2010-07-07 14:08:11 +01:00
2010-07-05 15:20:04 +01:00
2010-07-13 19:26:58 +01:00
2010-03-25 09:33:26 +00:00
2010-01-08 20:19:50 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-07-13 14:29:07 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-13 14:28:52 +01:00
2010-07-13 14:28:52 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:24:01 +01:00
2010-07-15 17:27:15 +01:00
2010-03-01 12:56:10 +00:00
2010-07-13 14:28:52 +01:00
2010-06-04 14:44:15 +01:00
2010-07-13 14:28:35 +01:00
2010-05-20 17:18:24 +01:00
2010-06-30 18:51:31 +01:00
2010-03-01 12:56:10 +00:00
2010-07-13 19:26:58 +01:00
2010-07-09 18:57:54 +01:00
2010-07-15 17:24:01 +01:00
2010-07-13 14:28:52 +01:00
2009-10-16 18:58:50 +01:00
2010-07-13 19:26:58 +01:00
2010-03-03 17:02:51 +00:00