I’m planning on trying to make an auto exposure system, would taking a screenshot every few seconds using the newish screenshot API and adjusting the exposure based on the average brightness of the aforementioned previous screenshots’ pixels be a good method for doing so?
P.S.
This might be the wrong category for this so if this is the wrong category, please tell me.
2 Likes
This has already been done. Capture service is unstable and a somewhat recent change has prevented rapid screenshots.
Hello everyone! Today I made a script for anyone to use. I made some customizable Auto Exposure that uses EditableImage and the CaptureService.
Roblox Model
(Put in either StarterCharacterScripts or StarterPlayerScripts)
OR
Source Code:
local screenshotAPI = game:GetService("CaptureService")
local asset = game:GetService("AssetService")
local screen = Instance.new("EditableImage")
local lighting = game:GetService("Lighting")
local tween = game:GetService("TweenService")
screen.Size = Vecto…
First, I’d like to disclose that this is a fork of @atfdaj 's auto exposure, refined, fixed and optimized. The logic is entirely designed by them, using Editable Images and CaptureService.
api
How Does This Resource Work?
As stated previously, @atfdaj designed most of the inner workings of the script, and I refined, optimized, and fixed the code.
For every Heartbeat, a screenshot is taken via CaptureService and converted into an EditableImage. In a parallel thread, this image is processed and…
2 Likes
Oh! I guess that’s a good sign that it works if someone already did it lol
1 Like
system
(system)
Closed
August 6, 2024, 12:37am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.