Aolence
|
  |
| Joined: 25 Apr 2011 |
| Total Posts: 475 |
|
|
| 16 Jun 2016 02:08 AM |
How can I make a script that transitions a ColorCorrection effect from being black to white over time (like a fading effect)?
I've tried all the methods I can think of (though I didn't save them so I can't post them here).
Thanks. |
|
|
| Report Abuse |
|
|
Lem0nzzx
|
  |
| Joined: 08 Feb 2016 |
| Total Posts: 1604 |
|
|
| 16 Jun 2016 02:10 AM |
| Use a for loop on the saturation property. |
|
|
| Report Abuse |
|
|
Lem0nzzx
|
  |
| Joined: 08 Feb 2016 |
| Total Posts: 1604 |
|
|
| 16 Jun 2016 02:12 AM |
for i = 0,1,0.1 do game.Lighting.ColorCorrection.Saturation = i wait() end
I barely use ColorCorrection so idk if it's used with Color3. |
|
|
| Report Abuse |
|
|
Aolence
|
  |
| Joined: 25 Apr 2011 |
| Total Posts: 475 |
|
|
| 16 Jun 2016 02:12 AM |
| I'm talking about TintColor. Sorry I forgot to mention that. |
|
|
| Report Abuse |
|
|
Aolence
|
  |
| Joined: 25 Apr 2011 |
| Total Posts: 475 |
|
|
| 16 Jun 2016 02:13 AM |
| Oooooh, you just gave me an idea! |
|
|
| Report Abuse |
|
|
Lem0nzzx
|
  |
| Joined: 08 Feb 2016 |
| Total Posts: 1604 |
|
|
| 16 Jun 2016 02:13 AM |
| Then change saturation to TintColor?? |
|
|
| Report Abuse |
|
|
Aolence
|
  |
| Joined: 25 Apr 2011 |
| Total Posts: 475 |
|
|
| 16 Jun 2016 02:17 AM |
| I'm just not sure how to implement Color3.new into the equation (in terms of adding the values until the TintColor.Color3 value is completely white). |
|
|
| Report Abuse |
|
|
Lem0nzzx
|
  |
| Joined: 08 Feb 2016 |
| Total Posts: 1604 |
|
|
| 16 Jun 2016 02:20 AM |
for i = 0,255,5 do game.Lighting.ColorCorrection.TintColor = Color3.new(i/255,i/255,i/255) wait() end |
|
|
| Report Abuse |
|
|
Aolence
|
  |
| Joined: 25 Apr 2011 |
| Total Posts: 475 |
|
|
| 16 Jun 2016 02:20 AM |
Oh, duh - I got it.
for i = 0,1,0.1 do game.Lighting.ColorCorrection.TintColor = Color3.new(i,i,i) wait() end
Thanks for the help! |
|
|
| Report Abuse |
|
|
Lem0nzzx
|
  |
| Joined: 08 Feb 2016 |
| Total Posts: 1604 |
|
|
| 16 Jun 2016 02:22 AM |
* for i = 0,1,0.1 do game.Lighting.ColorCorrection.TintColor = Color3.new(i/255,i/255,i/255) wait() end
|
|
|
| Report Abuse |
|
|