-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Expose runtime baking functionality in LightmapGI #91676
Changes from all commits
7f02383
e05ce18
8a314b9
69cf82e
b61154f
2ba1449
492b447
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
def can_build(env, platform): | ||
return env.editor_build and platform not in ["android", "ios"] | ||
return (env.editor_build and platform not in ["android", "ios"]) or env["module_lightmapper_rd_enabled"] | ||
|
||
|
||
def configure(env): | ||
pass | ||
from SCons.Script import BoolVariable, Variables, Help | ||
|
||
envvars = Variables() | ||
envvars.Add( | ||
BoolVariable( | ||
"lightmapper_rd", | ||
"Enable Lightmapper functionality in export template builds (increases binary size)", | ||
False, | ||
) | ||
) | ||
Comment on lines
+8
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm confused why we need a separate See also #73003. |
||
envvars.Update(env) | ||
Help(envvars.GenerateHelpText(env)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
def can_build(env, platform): | ||
return env.editor_build and platform not in ["android", "ios"] | ||
return env.editor_build and platform not in ["android", "ios"] or env["module_xatlas_unwrap_enabled"] | ||
|
||
|
||
def configure(env): | ||
pass | ||
from SCons.Script import BoolVariable, Variables, Help | ||
|
||
envvars = Variables() | ||
envvars.Add( | ||
BoolVariable( | ||
"xatlas_unwrap", | ||
"Enable xatlas unwrapping functionality in export template builds (increases binary size)", | ||
False, | ||
) | ||
) | ||
Comment on lines
+8
to
+15
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will work on it! Thanks. |
||
envvars.Update(env) | ||
Help(envvars.GenerateHelpText(env)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.