godot/modules/betsy/SCsub
Rémi Verschelde ceea97fc05 Betsy: Consolidate documentation in module folder and cleanup SCsub
Also remove unused `UavCrossPlatform_piece_all.glsl`.
2025-01-31 23:45:37 +01:00

18 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")