-
Notifications
You must be signed in to change notification settings - Fork 46
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
Incorrect lightmap rendering #232
Comments
model_brush.c -> Mod_Q1BSP_LoadFaces #define DotProductDouble(a,b) ((double)(a)[0](double)(b)[0]+(double)(a)[1](double)(b)[1]+(double)(a)[2]*(double)(b)[2])
|
Ooo, a precision error. Thank you @Baker7, that has definitely improved it. Did I need to switch to the |
Okay, I replaced other calls to the macro and it's now matching what Ironwail shows me. Thank you, @Baker7, you're a genius. Writing up a PR now. |
I thought the whole way to fix the issue was just that single line and with your screenshots, obviously implementing that in the entire function is the correct and full way to implement the fix. The fix I previously had in Zircon seemed to work in the example maps that I had tried out, but this map proves me to be a really good test case and I have now extended it to the whole function like what you did. |
I've noticed lightmaps are not rendering correctly on maps. This has affected my test maps and also Winter Hellscape shown here:
The same map lightmap looks fine in FTEQW and Ironwail. Affects both the built-in lightmap and the .lit file.
The text was updated successfully, but these errors were encountered: