www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: RhoX on November 18, 2011, 01:45:19 pm
-
Hello everyone,
I've been developing a Android game with jPCT-AE and now I have a problem with this skybox stuff. I read some older topics and I got that testing on emulator is not a good idea (I'm gonna find some Android phone to test). My question is: how do I determine a skybox size good enough for the application? Let me explain:
Ealier, I was setting
sky = Skybox(80);
This made my screen black XD.
After I read some topics, I've set
sky = Skybox(10000);
With this, I've got some very good results.
What about that? Any suggestions?
Thank you in advance,
RhoX
-
80 is bit a small. Whatever looks good is fine. Just don't use very high values, because you'll run into accuracy issues with the zbuffer then.
-
Does not matter on size of skybox. Render skybox -> clear z-buffer -> render your models
-
Hummm, I understand.
It is good to know that clearing the z-buffer makes the skybox render the objects anyway.
Thanks for the reply!