diff options
author | sanine-a <sanine.not@pm.me> | 2020-12-18 20:20:26 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-12-18 20:20:26 -0600 |
commit | 91b914bc0eb97a76f2c3a1caa64fdfde29ca16a1 (patch) | |
tree | bf038b561eb80461c4b902ff350b813e4b48699d /demo/SpatialShader.lua | |
parent | 1b7a7a0d83353c9d4e67387d864011b1556330eb (diff) |
add draw filtering and alpha to SpatialShader output
Diffstat (limited to 'demo/SpatialShader.lua')
-rw-r--r-- | demo/SpatialShader.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/SpatialShader.lua b/demo/SpatialShader.lua index b15859f..68760ef 100644 --- a/demo/SpatialShader.lua +++ b/demo/SpatialShader.lua @@ -34,7 +34,7 @@ out vec4 color; void main() { - color = vec4(texture(albedo, UV).xyz, 1); + color = texture(albedo, UV); } ]] local SpatialShader = {} |