After Mr. Agent helped out with the fps drop due to AA he also gave me some hints on how to add AA to transparent objects like the trees and the grain without sorting them. I am now using GL_SAMPLE_ALPHA_TO_COVERAGE, which gives a much calmer look. Here are two new screenshots while using that technique.
It looks awesome but, when I enter game my monitor goes black except for an āInput not supportedā message
Note that Iām running Linux Mint with an Ivybridge i7 but not graphics card (just the Intel 4000 graphics), so perhaps it doesnāt like the Intel graphics? Or maybe doesnāt like mint?
It looks awesome but, when I enter game my monitor goes black except for an āInput not supportedā message
Note that Iām running Linux Mint with an Ivybridge i7 but not graphics card (just the Intel 4000 graphics), so perhaps it doesnāt like the Intel graphics? Or maybe doesnāt like mint?
Iāve had people use both Linux and Intel and both have worked separately. Input not supported sounds like itās not agreeing with the resolution that your driver is telling me that itās supporting. There is no error thrown, maybe you could try to change the resolutionH(eight) and W(idth) in the app data / State of Fortune / settings.dat file to one that you know is supported?
In other news. Iāve been busy with personal life stuff, but Iām almost done with an update that contains a rewrite of all the shaders to not have a single if/else/float(a==1) in them (which increased the fps with 10-40%), adding a notification bar with how long effects like bread is active and official support for the Oculus Rift.
Iāve had people use both Linux and Intel and both have worked separately. Input not supported sounds like itās not agreeing with the resolution that your driver is telling me that itās supporting. There is no error thrown, maybe you could try to change the resolutionH(eight) and W(idth) in the app data / State of Fortune / settings.dat file to one that you know is supported?
In other news. Iāve been busy with personal life stuff, but Iām almost done with an update that contains a rewrite of all the shaders to not have a single if/else/float(a==1) in them (which increased the fps with 10-40%), adding a notification bar with how long effects like bread is active and official support for the Oculus Rift.
float x = float(f < 1.0); //Not a branch
float y = float(f > 1.0 && f < 2.0); //BRANCH!
float z = float(f > 1.0)*float(f < 1.0); //Same as y, but no branch
float w = f < 1.0 ? 5.0 : 4.0; //Still no branch
GPUs have special assembly instructions for many cases and can sometimes optimize out branches.
EDIT:
Actually, [icode]float y = float(f > 1.0 && f < 2.0);[/icode] is sometimes optimized to something similar to Z.
float x = float(f < 1.0); //Not a branch
float y = float(f > 1.0 && f < 2.0); //BRANCH!
float z = float(f > 1.0)*float(f < 1.0); //Same as y, but no branch
float w = f < 1.0 ? 5.0 : 4.0; //Still no branch
GPUs have special assembly instructions for many cases and can sometimes optimize out branches.
EDIT:
Actually, [icode]float y = float(f > 1.0 && f < 2.0);[/icode] is sometimes optimized to something similar to Z.
Right, then I removed some branches and changed some code unnecessarily I also applied conditional parsing to not run any unnecessary code based on the current graphical settings.
Right, then I removed some branches and changed some code unnecessarily I also applied conditional parsing to not run any unnecessary code based on the current graphical settings.
Thanks, but that didnāt quite work. Those parameters werenāt initially in the file, but I added them, and same results. I also tried setting it windowed mode, still the same thing happened.
Since it seems to be trying to go full screen by default (and always) why not just use something likeā¦
ā¦to just use the resolutions and frequency of the desktop (which is sure to already be right, and save any problem of changing setting if there is a crash). EDIT: Iāve used this in something I was working on, and that code worked for me.
Again, it looks great in the videos, just canāt get it to work.
Thanks, but that didnāt quite work. Those parameters werenāt initially in the file, but I added them, and same results. I also tried setting it windowed mode, still the same thing happened.
Since it seems to be trying to go full screen by default (and always) why not just use something likeā¦
ā¦to just use the resolutions and frequency of the desktop (which is sure to already be right, and save any problem of changing setting if there is a crash). EDIT: Iāve used this in something I was working on, and that code worked for me.
Again, it looks great in the videos, just canāt get it to work.
Thanks for the feedback, I changed it to default to windowed mode just in case. It might be that your gfx card is reporting that it can handle a higher hz than your screen likes and I always grab the highest hz. Iāll just change it so it doesnāt go above the hz of your current desktop display mode just in case.
Itās part of the next update (whenever thatāll be :)). Iāll write you a PM when it is live.
Thanks for the feedback, I changed it to default to windowed mode just in case. It might be that your gfx card is reporting that it can handle a higher hz than your screen likes and I always grab the highest hz. Iāll just change it so it doesnāt go above the hz of your current desktop display mode just in case.
Itās part of the next update (whenever thatāll be :)). Iāll write you a PM when it is live.
After a break of a few months I picked up the game again a couple of weeks ago. There are a lot of changes already finished for the next big update with things like LWJGL3, Oculus Rift support, better land generation, a lot of bugs fixed and more. I have no idea when the update is coming out, but Iād like to add more content as well so itās not the same boring tasks as it used to be.
After a break of a few months I picked up the game again a couple of weeks ago. There are a lot of changes already finished for the next big update with things like LWJGL3, Oculus Rift support, better land generation, a lot of bugs fixed and more. I have no idea when the update is coming out, but Iād like to add more content as well so itās not the same boring tasks as it used to be.