Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - vickt

Pages: [1]
1
Support / Open GL ES 1.0 Lighting
« on: July 08, 2012, 05:11:39 am »
The effects of lights in either OpenGL ES 1.0 or 2.0 are not changed by distance (the intensity of the lighting on objects does not fade out). This can beeasily accomplished by modifying the default shaders, but that would require OpenGL ES 2.0, which would bring a performance drop. Is there anyway to create this functionality in OpenGL ES 1.0?

2
Support / Removing lights in JPCT-AE
« on: April 30, 2012, 03:12:30 am »
For my explosion and muzzle flare effects I'm adding lights to the world for a set number of frames and then I'm calling light.disable() on them. This works about the first six times, but then the lights fail to show up anymore.

Is there a limit on the number of lights that a World can contain in JPCT-AE, and if so what is a better way to remove lights than calling disable()? JPCT-AE's implementation of World does not allow to remove lights by ID.

Pages: [1]