Logo
Explore Help
Sign In
1berry/godotengine
1
0
Fork 0
You've already forked godotengine
Code Issues Packages Projects Releases Wiki Activity
godotengine/modules/lightmapper_rd/config.py

7 lines
128 B
Python
Raw Permalink Normal View History

New lightmapper -Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
2020-05-01 09:34:23 -03:00
def can_build(env, platform):
Disable `lightmapper_rd` module in non-editor builds (and in Android editor) This is consistent with `xatlas_unwrap`, which isn't enabled in non-editor builds and the Android editor either. There is currently no way to use the lightmapper in a non-editor build anyway, as it doesn't expose any methods (and even if there was, there would be no way to perform UV2 unwrapping in the exported project). This reduces binary size of a stripped Linux x86_64 export template build by ~164 KB. This also moves the PrimitiveMesh texel size project setting so that it's defined when the module is disabled, and adds a property hint to it.
2023-09-29 11:15:04 +02:00
return env.editor_build and platform not in ["android", "ios"]
New lightmapper -Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
2020-05-01 09:34:23 -03:00
def configure(env):
pass
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 3440ms Template: 56ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API