www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: orkshaman on April 27, 2011, 11:47:19 pm

Title: No setEnvmapMode?
Post by: orkshaman on April 27, 2011, 11:47:19 pm
I try to make reflection like on weapon in fps example. But seems there is no setEnvmapMode method in JPCT-AE?
Title: Re: No setEnvmapMode?
Post by: EgonOlsen on April 28, 2011, 12:14:35 am
No, because the OpenGL pipeline knows only one mode. The other mode that jPCT knows is done in software. Please keep in mind that environment mapping in jPCT-AE isn't fully supported anyway, because the formula used to calculate isn't particularly great and it suffers from driver bugs with setting the texture matrix on some devices. Avoid using it if possible.
Title: Re: No setEnvmapMode?
Post by: orkshaman on April 28, 2011, 12:25:24 am
Ok