Game crashes at start with the error:
"Failed to comile shader"
'__core__/graphics/shaders/final-postprocessing-custom.frag'.
ERROR: 0:48: 'Error' : Cannot offset into the vector
ERROR: 0:48: '=' : cannot convert from 'const 4-component vector of float' to '3-component vector of float'
Failed to comile shader in 1.0.0
Re: Failed to comile shader in 1.0.0
Post the log after a session with the issue, see my signature.
Re: Failed to comile shader in 1.0.0
Log-file attached
- Attachments
-
- factorio-current.log
- (1.67 KiB) Downloaded 108 times
Re: Failed to comile shader in 1.0.0
Factorio is attempting to start on your integrated graphic. (It is also attempting to use opengl rather than directX, but that shouldn't be a problem). Try to tell windows to run it your dedicated graphics. (You might also want to check for newer graphics drivers as well).
Re: Failed to comile shader in 1.0.0
Your Intel graphics driver is quite dated, the latest version is here: https://downloadcenter.intel.com/downlo ... duct=97500
To make OpenGL use your Geforce GTX 780 Ti instead of Intel integrated GPU, you need to go to Windows' View display settings and set a screen that is connected to the Geforce as Primary.
To switch back to Direct3D instead of OpenGL, you need to edit force-opengl value in the config.ini. See: 9300
To make OpenGL use your Geforce GTX 780 Ti instead of Intel integrated GPU, you need to go to Windows' View display settings and set a screen that is connected to the Geforce as Primary.
To switch back to Direct3D instead of OpenGL, you need to edit force-opengl value in the config.ini. See: 9300
Re: Failed to comile shader in 1.0.0
Thank you, Posila and Zavian!
Running nicely on the GTX card.
Running nicely on the GTX card.