Getting Rid of Sepia color - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Getting Rid of Sepia color (/thread-6675.html) |
Getting Rid of Sepia color - pawsUp1703 - 02-21-2011 I have a problem I used FadeSepiaColorTo(15.0f,1.0f); to get a sepia coloured screen but FadeSepiaColorTo(0,0); doesn#t make the screen normal again... does anybody has a solution for this? RE: Getting Rid of Sepia color - Pandemoneus - 02-21-2011 1.0f should be the normal value if I remember correctly. RE: Getting Rid of Sepia color - pawsUp1703 - 02-21-2011 (02-21-2011, 04:15 PM)Pandemoneus Wrote: 1.0f should be the normal value if I remember correctly. tried it but it also didn't work.. RE: Getting Rid of Sepia color - Tottel - 02-21-2011 I haven't used this before, but I wouldn't use 0 for the second parameter (2nd value), since that is the speed at which you fade colour. And well: 0 speed doesn't sound that good. :p RE: Getting Rid of Sepia color - pawsUp1703 - 02-22-2011 (02-21-2011, 09:47 PM)Tottel Wrote: I haven't used this before, but I wouldn't use 0 for the second parameter (2nd value), since that is the speed at which you fade colour. And well: 0 speed doesn't sound that good. :p hmm sounds like the truth to me what you said but when i use Fadin or fadeOut with 0 at speed it works... I'll test it anyway RE: Getting Rid of Sepia color - Acies - 02-23-2011 FadeSepiaColorTo(15.0f,1.0f); Means that you set the sepia to 15 with the speed of 1.0f. This probably means that it takes 15 secs before it reaches 15. However, when you set it to: FadeSepiaColorTo(0.0f,0.0f); You tell it to change to 0 with the speed 0. Since there is no "speed" there is no change. Correct should be: FadeSepiaColorTo(0.0f,1.0f); (Change to 0 with the speed of 1.) |