But it just says "Invalid type for capture buffer."
When I looked into the code, I discovered my capture buffer... isn't a capture buffer??
This is my code:
Code: Select all
local buffer = Graphics.CaptureBuffer(cam.width, cam.height)
buffer.captureAt(-100)
Graphics.drawBox{
x = 0,
y = 0,
priority = priority - 2,
w = cam.width,
h = cam.height,
texture = buffer
}