2020-05-01 20:34:23 +08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import("env")
|
|
|
|
Import("env_modules")
|
|
|
|
|
|
|
|
env_lightmapper_rd = env_modules.Clone()
|
|
|
|
env_lightmapper_rd.GLSL_HEADER("lm_raster.glsl")
|
|
|
|
env_lightmapper_rd.GLSL_HEADER("lm_compute.glsl")
|
|
|
|
env_lightmapper_rd.GLSL_HEADER("lm_blendseams.glsl")
|
2021-09-11 20:02:37 +08:00
|
|
|
env_lightmapper_rd.Depends("lm_raster.glsl.gen.h", "lm_common_inc.glsl")
|
|
|
|
env_lightmapper_rd.Depends("lm_compute.glsl.gen.h", "lm_common_inc.glsl")
|
|
|
|
env_lightmapper_rd.Depends("lm_blendseams.glsl.gen.h", "lm_common_inc.glsl")
|
2020-05-01 20:34:23 +08:00
|
|
|
|
|
|
|
# Godot source files
|
|
|
|
env_lightmapper_rd.add_source_files(env.modules_sources, "*.cpp")
|