19 lines
490 B
Python
19 lines
490 B
Python
#!/usr/bin/env python
|
|
from misc.utility.scons_hints import *
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_betsy = env_modules.Clone()
|
|
|
|
# Betsy shaders, originally from https://github.com/darksylinc/betsy
|
|
env_betsy.GLSL_HEADER("bc6h.glsl")
|
|
env_betsy.GLSL_HEADER("bc1.glsl")
|
|
env_betsy.GLSL_HEADER("bc4.glsl")
|
|
env_betsy.GLSL_HEADER("alpha_stitch.glsl")
|
|
|
|
env_betsy.Depends(Glob("*.glsl.gen.h"), ["#glsl_builders.py"])
|
|
|
|
# Godot source files
|
|
env_betsy.add_source_files(env.modules_sources, "*.cpp")
|