summaryrefslogtreecommitdiff
path: root/demo/SpatialShader.lua
diff options
context:
space:
mode:
Diffstat (limited to 'demo/SpatialShader.lua')
-rw-r--r--demo/SpatialShader.lua2
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 = {}