Author Topic: No setEnvmapMode?  (Read 1038 times)

Offline orkshaman

  • byte
  • *
  • Posts: 25
    • View Profile
No setEnvmapMode?
« 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?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: No setEnvmapMode?
« Reply #1 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.

Offline orkshaman

  • byte
  • *
  • Posts: 25
    • View Profile
Re: No setEnvmapMode?
« Reply #2 on: April 28, 2011, 12:25:24 am »
Ok