Europa Universalis IV

Europa Universalis IV

25 értékelés
Yet Another Graphics Overhaul: Map Shaders (1.2)
   
Díjazás
Kedvenc
Kedvenc
Törlés
Fájlméret:
Közzétéve:
Frissítve:
164.654 KB
2022. máj. 29., 6:03
ápr. 22., 0:35
3 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Yet Another Graphics Overhaul: Map Shaders (1.2)

2 CptWesley készítette gyűjteményben
Yet Another Graphics Overhaul - Shaders
4 elem
Yet Another Graphics Overhaul - Complete
7 elem
Leírás
Description
Provides a map shader that dynamically blends the terrain map with the color map depending on the zoom level and additionally adds a glowing gradient effect to country borders. Note that this mod is relatively computationally heavy. Meaning your framerate might be lower than without this mod. For some users this difference might be too much and a lite version is available here. This lite version should have better performance, but won't look as pretty as a consequence. You should only use this mod or the lite version, not both at the same time.

Ironman
All Yet Another Graphics Overhaul mods are fully ironman compatible and can be used to obtain achievements or in multiplayer with people who don't use the mods.

Usage
You can use this mod by itself or as part of the Yet Another Graphics Overhaul mod pack (see next section). This means you can also theoretically use this mod in combination with other graphics mods. However, usage with other graphics mods has not been tested and will not be officially supported.

Yet Another Graphics Overhaul
This mod is part of the open source[github.com] Yet Another Graphics Overhaul mod pack. Three Steam Workshop collections are provided for this mod pack:

You can use any combination of shader mods (don't mix lite and full versions however), but only one font mod at the same time.
49 megjegyzés
Coac ápr. 23., 1:11 
It's probably something to do my computer
CptWesley  [készítő] ápr. 23., 0:21 
@NII It works for some people, but apperently not for all...
Coac ápr. 22., 14:39 
@CptWesley It renders now but it shades every province instead of just the country borders and the performance is significantly worse than on Windows, especially on the normal version of the mod. The lite version seems to work fine. I'm not sure what causes the weird rendering bug on the normal version on Linux but changing the float number in int distanceToBorder from 0.1f to 0.38f alleviated it but it causes some borders between similarly colored nations to not get shaded.
NatusInIgnis | NII ápr. 22., 8:19 
@CptWesley. Hi there. So do you have confirmation mod indeed fixed on Linux/Mac?
CptWesley  [készítő] ápr. 22., 0:37 
@Coac Could you try again with the 1.2 version and let me know if that solved it for you?
Coac ápr. 21., 1:14 
It doesn't work for me on Linux and the terrain was all black. This was in the error log

[gfx_opengl.cpp:1695]: ACTUAL FAULTY LINE:
int minDist = min(d1, min(d2, min(d3, min(d4, min(d5, min(d6, min(d7, d8)))))));
[gfx_opengl.cpp:1791]:
Failed pixel shader:
0(865) : error C1101: ambiguous overloaded function reference "min(int, int)"
(0) : gp5 cp50 fp50 vp50 gp50 cpf fpf vpf gpf superp float min(superp float, superp float)
(0) : mediump float min(mediump float, int)
(0) : ps gp5 gp4 cp50 fp50 vp50 gp50 cpf fpf vpf gpf lowp float min(lowp float, lowp float)
(0) : ps gp5 gp4 cp50 fp50 vp50 gp50 cpf fpf vpf gpf mediump float min(mediump float, mediump float)
(0) : float min(float, float)
CptWesley  [készítő] ápr. 19., 23:09 
Should be fixed on unix based systems now (linux/mac)
Fractal Nightmare ápr. 16., 22:40 
Oh nvm. I am just dumb. I forgot to define "DistanceToBorder". Now all just works fine. Simply replacing "uint" with "int" shall do the trick.
Fractal Nightmare ápr. 16., 22:32 
I would love to help you in testing this so your mod can run on linux and potentially on mac. If you want me to debug you results in case you want your code pristine and untouched (I more than happily will oblige), we can do that. Else, if you allow me to contribute, I can add you as friend so we can discuss this easily and bypass steam's comment's limits.

Cheers.
Fractal Nightmare ápr. 16., 22:30 
Hello, it is as you've said. Replacing each instance of uint with int has solved the issue, however, the error log now spits the following:

0:921(11): error: no function with name 'DistanceToBorder'
0:922(11): error: no function with name 'DistanceToBorder'
0:923(11): error: no function with name 'DistanceToBorder'
0:924(11): error: no function with name 'DistanceToBorder'
0:925(11): error: no function with name 'DistanceToBorder'
0:926(11): error: no function with name 'DistanceToBorder'
0:927(11): error: no function with name 'DistanceToBorder'
0:928(11): error: no function with name 'DistanceToBorder'
0:929(68): warning: `d7' used uninitialized
0:929(72): warning: `d8' used uninitialized
0:929(60): warning: `d6' used uninitialized
0:929(52): warning: `d5' used uninitialized
0:929(44): warning: `d4' used uninitialized
0:929(36): warning: `d3' used uninitialized
0:929(28): warning: `d2' used uninitialized
0:929(20): warning: `d1' used uninitialized