On loading Sponza #93
Unanswered
Hellwoodoo
asked this question in
Q&A
Replies: 3 comments 1 reply
-
I will have a look at it. Java buffers are limited because its capacity is limited to maximum int value, therefore the 2GB limit. I will try to check if sopmethnig can be done. In any case isn't STB also limited around 2GB also? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok, Just gave it a quick look. It seems that you could do what is explained here, or wait until LWGL 4. |
Beta Was this translation helpful? Give feedback.
1 reply
-
No clue about what could be happening. Are images in the proper layout? What can see in Renderdoc? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @lwjglgamedev, have been going through this wonderful resource, but have gotten stuck on loading Sponza's texture. A brief examination has led me to seeing that some of the textures (1024 x 1024 x 8) and have been getting jlong_disjoint_arraycopy when trying to create a buffer of some size. Apparently JVM can only handle 2GB, but that should not be the issue here. Just wondering how you addressed this?
Beta Was this translation helpful? Give feedback.
All reactions