I set up the attenuation exatly like this. It works prefectly on Samsung and most other devices, but not on HTC.
Kostya and Nightwolf, thanks for the algorithm ideas. I am trying to implement it now. On Sep 30, 10:01 am, a1 <arco...@gmail.com> wrote: > And did you correctly setup attenuation equation? Attenuation is controlled > by glPointParameter function > (http://www.khronos.org/opengles/sdk/1.1/docs/man/) with pname > GL_POINT_DISTANCE_ATTENUATION, where you suppose to provide array of 3 > floats with attenuation equation coeffs (a, b and c). > > This equation is: > > 1 / (1 + b * D + c * D^2) > > where D is point sprite distance. Initial value for this coeffs is 1, 0, 0 - > that is attenuation is disabled. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en