godot/modules/betsy/SCsub

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
532 B
Text
Raw Normal View History

#!/usr/bin/env python
from misc.utility.scons_hints import *
2024-01-04 16:33:20 +01:00
Import("env")
Import("env_modules")
env_betsy = env_modules.Clone()
# Betsy shaders, originally from https://github.com/darksylinc/betsy
2024-01-04 16:33:20 +01:00
env_betsy.GLSL_HEADER("bc6h.glsl")
env_betsy.GLSL_HEADER("bc1.glsl")
2024-09-21 22:12:28 +02:00
env_betsy.GLSL_HEADER("bc4.glsl")
2024-11-22 13:45:12 +01:00
env_betsy.GLSL_HEADER("alpha_stitch.glsl")
env_betsy.GLSL_HEADER("rgb_to_rgba.glsl")
2024-01-04 16:33:20 +01:00
env_betsy.Depends(Glob("*.glsl.gen.h"), ["#glsl_builders.py"])
2024-01-04 16:33:20 +01:00
# Godot source files
env_betsy.add_source_files(env.modules_sources, "*.cpp")