Community Forum

emissiveLightShader FS22

Forum Overview >> Editor

CategoryEditor
Created26.11.2021 18:56


Sven M. (fsven) (SvenFendt13) 26.11.2021 18:56
Hello, I started to convert a Windturbine Mod from FS19 to FS22.
The emissiveLightsShader is used for the Signallights as "Billboard_Turnlight". I took the emissiveLightsShader.xml from the "fs19support" Folder (FS22 Game). Unfortunately, I always get this Error:
Error: Could not parse GISL program.
(792): ERROR: '' : unsupported construction
(792): ERROR: 'tex2D' : unable to suitably promote arguments to function
(793): ERROR: '' : unsupported construction
(793): ERROR: 'tex2D' : unable to suitably promote arguments to function
(794): ERROR: '' : unsupported construction
(794): ERROR: 'tex2D' : unable to suitably promote arguments to function
(795): ERROR: '' : unsupported construction
(795): ERROR: 'tex2D' : unable to suitably promote arguments to function
(796): ERROR: '' : unsupported construction
(796): ERROR: 'tex2D' : unable to suitably promote arguments to function

Error: Failed to compile shader 34995A55-00002641-00000000-01C00000.
Error: Could not parse GISL program.
(795): ERROR: '' : unsupported construction
(795): ERROR: 'tex2D' : unable to suitably promote arguments to function
(796): ERROR: '' : unsupported construction
(796): ERROR: 'tex2D' : unable to suitably promote arguments to function
(797): ERROR: '' : unsupported construction
(797): ERROR: 'tex2D' : unable to suitably promote arguments to function
(798): ERROR: '' : unsupported construction
(798): ERROR: 'tex2D' : unable to suitably promote arguments to function
(799): ERROR: '' : unsupported construction
(799): ERROR: 'tex2D' : unable to suitably promote arguments to function

Error: Failed to compile shader DF8A7799-00002641-00000000-01C00000.
Does anyone have an Idea how to fix this?
PS: The "Emissive-Map" Texture I use, is "coronaRed_diffuse.dds" from the "fs17support" Folder (FS19).

Colin Smith (WrinkleysRule) 26.11.2021 19:39
You do of course realise that any texture that requires an alpha layer has to be saved as a BC7 file in FS22 not as a DXT5
Other textures must be saved as DXT1, the height map must be saved as a BC4

Sven M. (fsven) (SvenFendt13) 26.11.2021 20:54
Thanks for your Answer!
I converted the Texture with the Nvidia Texture Tools Exporter to BC7 Format, but the Error isn't fixed. In Addition to this, I get this Warning:
Warning: 'C:/path/coronaRed_diffuse.dds' (BC7) has undefined channel count, assuming 3 channels.

Colin Smith (WrinkleysRule) 26.11.2021 22:38
You could try using Visual Studio to save the texture as DXGI_FORMAT_BC7_UNORM and see what happens

Sven M. (fsven) (SvenFendt13) 27.11.2021 00:22
I tried, but this doesn't fixed it either...
So what I think is, that this Shader doesn't work for FS22 anymore...

Daniel Riechmann (Painlich) 27.11.2021 16:24
Use glowShader.xml in FS22

Sven M. (fsven) (SvenFendt13) 27.11.2021 23:00
Thanks for your answer!!
I didn't know, that I can use the glowShader.xml for it. Now it works fine!!
Thank you very much!


Note: Log in to post. Create a new account here.