//grain noise
#ifdef ENOISE
// float origgray=max(res.x, res.y);//dot(res.xyz, 0.333);
// origgray=max(origgray, res.z);
// coord.xy=var_TexCoords.xy*16.0 + origgray;
// vec4 cnoi=texture2D(SamplerNoise, coord.st);
// res=lerp(res, (cnoi.x+0.5)*res, NoiseAmount*saturate(1.0-origgray*1.8));
#endif
res.w=1.0;
gl_FragColor = res;
}
Shader info log:
0:1(12): warning: extension `GL_EXT_gpu_shader4' unsupported in fragment shader
0:1(1): error: #extension directive is not allowed in the middle of a shader
recursive error after: Couldn't compile shader
----- CL_Shutdown -----
Stellar Prey Test linux-AMD64 Mar 27 2021
+set com_ansiColor 1 +set fs_game main +set fs_basepath /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/basepath +set fs_homepath /home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/homepath
----- idFileSystemLocal::Startup -----
idFileSystemLocal::AddGameDirectory: "/home/cengiz/sw_nobackup/grangerhub/Stellar-Prey/basepath" "main"
pk3: Stellar-Prey/basepath/main/bin.pk3
pk3: Stellar-Prey/basepath/main/eX-texture-pack1.pk3
pk3: Stellar-Prey/basepath/main/eX-texture-pack1_a1.pk3
pk3: Stellar-Prey/basepath/main/eX-texture-pack2.pk3
pk3: Stellar-Prey/basepath/main/eX-texture-pack2_a1.pk3
pk3: Stellar-Prey/basepath/main/map-eXcs.pk3
pk3: Stellar-Prey/basepath/main/map-eXcs_a1.pk3
pk3: Stellar-Prey/basepath/main/map-UTCSUD.pk3
pk3: Stellar-Prey/basepath/main/map-UTCSUD_a1.pk3
pk3: Stellar-Prey/basepath/main/pak0.pk3
pk3: Stellar-Prey/basepath/main/pak0000_A_8f7eae0.pk3
pk3: Stellar-Prey/basepath/main/pak0000_B_8f7eae0.pk3
idFileSystemLocal::AddGameDirectory: "/Stellar-Prey/homepath" "main"
----------------------
5440 files in pk3 files
execing default.cfg
execing autoexec.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Loading Community Server
File cs_users.txt does not exist... creating it.
Couldn't read conhistory.
----- Client Initialization -----
----- Console Initialization -------
Console initialized.
idCmdSystemLocal::AddCommand: userinfo already defined
----- Initializing Renderer ----
GUIDKEY building random string
GUIDKEY generated
----- Client Initialization Complete -----
----- R_Init -----
Initializing OpenGL display
Display aspect: 1.778
...setting mode -2: 1920 1080
Trying to get an OpenGL 3.3 context
SDL_GL_CreateContext succeeded.
Using 24 color bits, 24 depth, 8 stencil display.
Available modes: '1920x1080 1280x800 1440x900 1680x1050 640x480 800x600 1024x768 1280x960 1600x1200 1280x1024'
GL_RENDERER: AMD CYPRESS (DRM 2.50.0 / 5.4.38-gentoo-x86_64, LLVM 11.0.0)
Initializing OpenGL extensions
...GL_EXT_texture_compression_s3tc not found
...ignoring GL_S3_s3tc
...GL_EXT_texture_env_add not found
...GL_ARB_multitexture not found
...GL_EXT_compiled_vertex_array not found
...ignoring GL_EXT_texture_filter_anisotropic
...using OpenGL 4.3 (Core Profile) Mesa 20.2.6
...using GL_ARB_framebuffer_object
...using GL_ARB_vertex_array_object
...ignoring GL_ARB_texture_float
...using GL_ARB_depth_clamp
...ignoring GL_ARB_seamless_cube_map
...using GLSL version 4.30
...using GL_NVX_gpu_memory_info
...ignoring GL_ATI_meminfo
...ignoring GL_ARB_texture_compression_rgtc
...ignoring GL_ARB_texture_compression_bptc
...GL_EXT_shadow_samplers not found
...GL_EXT_direct_state_access not found
Render thread starting
------- idRenderSystemLocal::FBOInit -------
------- idRenderSystemLocal::InitGPUShaders -------