New Shader for Post Process

  • Thread starter Thread starter Sunwalker
  • Start date Start date
Status
Not open for further replies.
S

Sunwalker

Guest
About 20 shader effect I add in it and share here. Can tweak through notepad plus or notepad, enable or disable for effect configuration.
 
I'll look into putting these in as an option for the next 7H update.
 
This looks promissing but it doesn't work for me here is a part of my app.log:

Code: [Select]
Code:
[00000000] INFO: FF7/FF8 OpenGL driver version 0.8.1b[00000000] INFO: Auto-detected version: FF7 1.02 US English[00000000] INFO: NVIDIA Corporation GeForce GT 630M/PCIe/SSE2 4.5.0 NVIDIA 376.33[00000000] INFO: OpenGL 2.0 support detected[00000000] INFO: Found swap_control extension[00000000] GLITCH: Unable to turn off vsync[00000000] INFO: Max texture size: 16384x16384[00000000] INFO: Original resolution 640x480, window size 960x720, output resolution 960x720, internal resolution 1280x960[00000000] INFO: Shader limits: varying 124, vert uniform 4096, frag uniform 4096[00000000] INFO: fragment shader compile log:0(18) : error C0206: invalid token "compatibility" in version line0(384) : error C7011: implicit cast from "vec4" to "vec3"[00000000] INFO: postprocessing program link log:Fragment info-------------0(18) : error C0206: invalid token "compatibility" in version line0(384) : error C7011: implicit cast from "vec4" to "vec3"(0) : error C2003: incompatible options for link[00000000] ERROR: init_postprocessing failed, postprocessing will be disabled
 
to Kaldarasha, try change that #version 120 compatibility to #version 150 compatibility , if not help also, then u can delete or disable it. I test all the shader and no problem.. the vsync can enable or disable, but it drop my fps if I enable that vsync ..
 
I unfortunately can't get postprocessing to load with it:

Code: [Select]
Code:
[00000000] INFO: FF7/FF8 OpenGL driver version 0.8.1b[00000000] INFO: Auto-detected version: FF7 1.02 US English[00000000] INFO: NVIDIA Corporation GeForce GTX 965M/PCIe/SSE2 4.5.0 NVIDIA 378.49[00000000] INFO: OpenGL 2.0 support detected[00000000] INFO: Found swap_control extension[00000000] INFO: Max texture size: 16384x16384[00000000] INFO: Original resolution 640x480, window size 1280x800, output resolution 1066x800, internal resolution 3840x2560[00000000] INFO: Shader limits: varying 124, vert uniform 4096, frag uniform 4096[00000000] INFO: fragment shader compile log:0(735) : error C1016: expression type incompatible with function return type[00000000] INFO: postprocessing program link log:Fragment info-------------0(735) : error C1016: expression type incompatible with function return type(0) : error C2003: incompatible options for link[00000000] ERROR: init_postprocessing failed, postprocessing will be disabled
 
In shadersmartpost.fx try add this ..

#version 120
#extension GL_NV_gpu_shader4 : enable
#extension GL_ARB_gpu_shader4 : enable
#extension GL_ARB_texture_rectangle : enable

and if still same.. try delete all that #extension

here my app.log .. 
Code: [Select]
Code:
[00000000] INFO: FF7/FF8 OpenGL driver version 0.8.1b[00000000] INFO: Auto-detected version: FF7 1.02 US English[00000000] INFO: Intel Intel(R) HD Graphics 3000 3.1.0 - Build 9.17.10.4229[00000000] INFO: OpenGL 2.0 support detected[00000000] INFO: Found swap_control extension[00000000] INFO: Max texture size: 8192x8192[00000000] INFO: Original resolution 640x480, window size 1280x768, output resolution 1024x768, internal resolution 3840x2560[00000000] INFO: Shader limits: varying 41, vert uniform 512, frag uniform 1024[00000000] INFO: vertex shader compile log:No errors.[00000000] INFO: fragment shader compile log:No errors.[00000000] INFO: main program link log:No errors.[00000000] INFO: fragment shader compile log:No errors.[00000000] INFO: postprocessing program link log:No errors.[00000000] INFO: FFMpeg movie player plugin loaded[00000000] INFO: FFMpeg version SVN-r25886, Copyright (c) 2000-2010 Fabrice Bellard, et al.[00000000] INFO: VGMStream music plugin loaded[00000000] INFO: Loading external library Multi.dll[00000000] LOCK UNLOCK TEST [00000001] MATRIX INITIALIZE [00000001] INITIALIZE DD/D3D END [00000001] initializing sound...[00000001] creating dsound primary buffer[00000001] reading audio file[00000001] loading static sounds[00000001] sound initialized[00000001] set music volume: 127[00000001] set music volume: 127[00000001] Entering MAIN[00000001] Exiting MAIN[00000001] START OF CREDITS!!![00000001] INFO: C:\Games\Final Fantasy VII\Data\Movies\eidoslogo.avi; h264/aac 640x480, 15.000000 FPS, duration: 10.263000, frames: 154[00000001] INFO: vertex shader compile log:No errors.[00000001] INFO: fragment shader compile log:No errors.[00000001] INFO: yuv program link log:No errors.[00000019] WM_CLOSE [00000019] END OF CREDITS!!![00000019] Field Quit[00000019] UNINITIALIZE DD  
 
Same stuff happens on my end.

Code: [Select]
Code:
[00000000] INFO: FF7/FF8 OpenGL driver version 0.8.1b[00000000] INFO: Auto-detected version: FF7 1.02 US English[00000000] INFO: NVIDIA Corporation GeForce GTX 750 Ti/PCIe/SSE2 4.5.0 NVIDIA 376.33[00000000] INFO: OpenGL 2.0 support detected[00000000] INFO: Using PBO[00000000] INFO: Found swap_control extension[00000000] INFO: Max texture size: 16384x16384[00000000] INFO: Original resolution 640x480, window size 1360x768, output resolution 1360x768, internal resolution 1920x960[00000000] INFO: Shader limits: varying 124, vert uniform 4096, frag uniform 4096[00000000] INFO: fragment shader compile log:0(734) : error C1016: expression type incompatible with function return type[00000000] INFO: postprocessing program link log:Fragment info-------------0(734) : error C1016: expression type incompatible with function return type(0) : error C2003: incompatible options for link[00000000] ERROR: init_postprocessing failed, postprocessing will be disabled[00000000] INFO: FFMpeg movie player plugin loaded[00000000] INFO: FFMpeg version SVN-r25886, Copyright (c) 2000-2010 Fabrice Bellard, et al.[00000000] INFO: VGMStream music plugin loaded[00000000] INFO: Loading external library FF7anyCD.dll[00000000] LOCK UNLOCK TEST [00000001] MATRIX INITIALIZE [00000001] INITIALIZE DD/D3D END [00000001] initializing sound...
 
I see, all gtx Nvidia will have this problem to use my shader, I will search to make gtx Nvidia compatible with this shader
 
I'm happy it working :) , if can I don't want to edit that vertex post, all go to post process without editing that vertex post.. I maybe too much put effect in it, if combine with AABumpMap and light maybe some of the effect cannot pass, try combine with AABumpMap and blendedBloom, for best effect ..try not to on all effect, use only 3 or 4 effect.. IF fps drop mean have to disable that vsync, and I purposely put # to the setting internal window size in ff7 config, to avoid over anti-aliasing..
 
Status
Not open for further replies.
Back
Top