jPCT-AE - a 3d engine for Android > Support

setEnvmapped has no effect

(1/1)

Lobby:
Hello,

as topic says I have the problem that setEnvmapped seems to have no effect on my 3D objects. Should the command work, yet?
I hope I'm just too dump to use it, but if not will it be implemented? And will it also be possible to have something like cubic environment mapping which is often used for realtime reflections?

Thanks

EgonOlsen:
That's right, environment mapping isn't really supported by jPCT-AE. OpenGL ES has no support for it, so the 1.x renderer tries to fake it somehow but that doesn't look very good in most cases. The ES 2.0 renderer doesn't support it at all, because it would require a whole new set of default shaders just for that and i didn't bother to do that for a feature that none has ever tried to use. It should be possible to write your own shader for that in case you really need this feature.
Cubic env mapping isn't supported ATM and i don't have any plans to add it in the near future.

Lobby:
Ok, thanks for your answer, so I'll try to write such a shader. If I'm successful I'll share it here ;) .

Navigation

[0] Message Index

Go to full version