2020-05-01 14:34:23 +02:00
|
|
|
#!/usr/bin/env python
|
2024-06-11 22:19:07 +02:00
|
|
|
from misc.utility.scons_hints import *
|
2020-05-01 14:34:23 +02:00
|
|
|
|
|
|
|
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")
|
2022-07-02 16:01:26 +02:00
|
|
|
env_lightmapper_rd.Depends(Glob("*.glsl.gen.h"), ["lm_common_inc.glsl", "#glsl_builders.py"])
|
2020-05-01 14:34:23 +02:00
|
|
|
|
|
|
|
# Godot source files
|
|
|
|
env_lightmapper_rd.add_source_files(env.modules_sources, "*.cpp")
|