Jump to content

Graphic quality by changing resolution 4.4


Marcousik
 Share

Recommended Posts

First I 'll show you a screenshot of the game after I changed the resolution with the ingame Menu options from 1280*720 to 1920*1080:

20170903114324_1.thumb.jpg.3d8b8b16890b7d4512265b6399ad9b60.jpg

This is a pretty bad quality compareDto the next screenshot that was taken with the game starting with 1920*1080 (so without changing the resolution ingame)

here is the code I changed for this:(main.lua)

if System:GetProperty("devmode")=="1" then
    gfxmode.x = math.min(1920,gfxmode.x)                          ---  ORIGINAL: gfxmode.x = math.min(1280,gfxmode.x)
    gfxmode.y = Math:Round(gfxmode.x * 9 / 16)
    windowstyle = Window.Titlebar
else
    gfxmode.x = System:GetProperty("screenwidth",gfxmode.x)
    gfxmode.y = System:GetProperty("screenheight",gfxmode.y)
    windowstyle = Window.Fullscreen
end

And here is the screenshot:

20170903114604_1.thumb.jpg.5bfb3585c770b8631909d958ace8bdf7.jpg

Other options staid the same.

 

I noticed a problem too with the underwater shader from Shadmar. After switching to another resolution water light effects can be seen out of water area, but this shouldbe another topic. 

 

 

 

Link to comment
Share on other sites

If this is a third party shader then the problem is probably that the shader script doesn't detect the size change and create a new buffer.  I have noticed this in a few of Shadmar's effects when I resize the editor window.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • 1 year later...
  • Admin locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...