2020-05-01 12:34:23 +00: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 12:02:37 +00: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 12:34:23 +00:00
|
|
|
|
|
|
|
# Godot source files
|
|
|
|
env_lightmapper_rd.add_source_files(env.modules_sources, "*.cpp")
|