Hello you may have already saw this post in building support but i realized that i need some scripting if i want to achieve the effect right here :
Currently i only have the colorcorrectioneffect but the entire world becomes white and black and i want some object have colors like the ship (I know kinda weird ship) like in the trailer
You can just use ColorCorrection, then set the Saturation level to 0, to make everything black and white.
But in the photo there is some coloring, so I guess you would have to manually set the parts to black or white.
For the ColorCorrection, you simply go to Lighting and add that in. You find the Saturation property and set it to 0.
For the parts, there is a simple equation you can use for every part. Somewhat like this:
for _,part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") then
local greyScale = (part.Color3.R,part.Color3.G,part.Color3.B)/3
part.Color3 = Color3.fromRGB(greyScale,greyScale,greyScale)
end
end
To test this, I would spend 2-3 minutes on making a very colorful house, to show this.
I tried to do this but it just recolors every part into balck and i’m not sure if i need to add the red blue and green value of the part and then divide it by 3 or other operation
I don’t think it’s using RGB, but rather a 0-1 color scale.
Try this:
for _,part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") then
local greyScale = (part.Color3.R*255,part.Color3.G*255,part.Color3.B*255)/3
part.Color3 = Color3.fromRGB(greyScale,greyScale,greyScale)
end
end
Should i add all of them (part.Color3.R*255,part.Color3.G*255,part.Color3.B*255) like this (part.Color3.R*255 + part.Color3.G*255 + part.Color3.B*255) ?
My mistake, yeah you should add them. Sorry about that.
for _,part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") then
local greyScale = (part.Color3.R+part.Color3.G+part.Color3.B)/3
part.Color3 = Color3.fromRGB(greyScale,greyScale,greyScale)
end
end