Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Gi clipmaps fix latency and crashes #213

Merged
merged 6 commits into from
Aug 8, 2024
Merged

Conversation

e2002e
Copy link
Contributor

@e2002e e2002e commented Jul 15, 2024

Fixes crashes when allocating mipmaps for 3D images.
I think that the pc runs out of ram because mipmapping for 3d images is, correct my if i'm wrong, 8 times the size of the original image. And anisotropy, precomputed direction, and clipmaps are stored in these images by extending their sizes so we don't use mipmaps.

@luboslenco this is kind of crucial that you merge this one, I'm opening an 'overhaul' pull request for armory but even with the current code the patch is needed.

@e2002e e2002e changed the title Gi clipmaps Gi clipmaps fix latency and crashes Aug 1, 2024
@luboslenco luboslenco merged commit 268a59e into armory3d:main Aug 8, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants