Announcement

Collapse
No announcement yet.

Strange brightness issue when applying settings...Please help!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Strange brightness issue when applying settings...Please help!!

    Today i met this strange issue which am not sure how to fix. To better illustrate i'll show some screenshots.

    When i start the game this is how it looks. Brightness/Gamma is all good:
    [SHOT]http://img203.imageshack.us/img203/2771/tlp1.jpg[/SHOT]

    But when i change the resolution and press Apply, screen refreshes and suddenly Brightness/Gamma is boosted up.
    [SHOT]http://img849.imageshack.us/img849/2446/f5xj.jpg[/SHOT]

    This happens for other settings too. For other settings it dont appear quickly. It only shows when i restart the game. To fix this i'll have to delete UDKSystemSettings.ini. Once deleted it and restarting the game fixes this issue but then again when i change any settings this happens again.

    Any idea on how to fix this? Am using February 2013 BETA1 Build.

    This is my SetResolution function called from Flash:
    Code:
    function SetResolution(){
        local int RSI;
        local bool ChkFullScreen;
    
    
        RSI = ScrollingList_DropDown.GetInt("selectedIndex");
        ChkFullScreen = FullScreenChk.GetBool("selected");
        
        if (IsFullScreen != ChkFullScreen)
        {
            IsFullScreen = ChkFullScreen;
        }
        
        if (ResolutionIndex != RSI)
        {
            ResolutionIndex = RSI;
            ConsoleCommand("Setres " $ ScrollingList_DropDown.GetString("selectedItem") $ WindowedOrFullScreen);
        }
    }
    And for other settings am using simple functions that calls ConsoleCommand. For example this is how the Bloom Setting looks like:
    Code:
    function ToggleBloom(string theState){
        local bool ChkBloom;
        ChkBloom = BloomChk.GetBool("selected");
        if (Bloom != ChkBloom) 
        {
            Bloom = ChkBloom;
        }
        ConsoleCommand("Scale Set Bloom "@theState);
    }
    With this issue i can't release my game. So please someone help me how to fix this!!
Working...
X