Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lightmaps] export correct number of lightmaps when using external lightmaps #11

Closed
MoritzJT opened this issue Jul 29, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@MoritzJT
Copy link

Imported a BSP with two external lightmaps
Extended to 4 Lightmaps by placing LightmapUVs on empty space on the atlas
Bake lightmap
Patch BSP (Lightmaps UVs, Lightmaps, External, Flip, Delete LMs)

Result:

lm_0000 and lm_0001 were written as tiles from the atlas, lm_0002 and lm_0003 ommited
I created them manually using Photoshop and they do work. Meaning UV transfer was successful, registering of the lightmaps as well - just the export did not work.

The external lightmaps had an initial resolution of 4096² and the atlas of 4 lightmaps was 8192²

What works fine was using smaller resolutions or patching BSPs that had only internal lms.

SomaZ added a commit that referenced this issue Aug 23, 2020
Fixes: #11
Also updated md3 limits to be exactly like in q3 and made shadow brushes visable for diffuse rays.
@SomaZ
Copy link
Owner

SomaZ commented Oct 18, 2020

Haven't heard anything again, so I assume the patch works fine. Feel free to reopen this when the issue still persists.

@SomaZ SomaZ closed this as completed Oct 18, 2020
@SomaZ SomaZ added the bug Something isn't working label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants