No setEnvmapMode?

Started by orkshaman, April 27, 2011, 11:47:19 PM

Previous topic - Next topic

orkshaman

I try to make reflection like on weapon in fps example. But seems there is no setEnvmapMode method in JPCT-AE?

EgonOlsen

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.