a1f715a4da
Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
11 lines
230 B
Plaintext
11 lines
230 B
Plaintext
Import('env')
|
|
|
|
if env['BUILDERS'].has_key('GLSL120GLES'):
|
|
env.GLSL120GLES('material.glsl');
|
|
env.GLSL120GLES('canvas.glsl');
|
|
env.GLSL120GLES('canvas_shadow.glsl');
|
|
env.GLSL120GLES('blur.glsl');
|
|
env.GLSL120GLES('copy.glsl');
|
|
|
|
|