Links and Guides to Custom Shaders for Pete's OpenGL2 plugin

Discussion in 'PSX Plugin Questions & Troubleshooting' started by ViperXtreme, Aug 11, 2006.

  1. ViperXtreme

    ViperXtreme Irregular User Award Winner!

    Messages:
    2,878
    Likes Received:
    12
    Links and Guide to Custom Shader for Pete's OpenGL2 PLugin

    First of all, what are Shaders? Well for a simplified term, its a graphics hardware feature that enables more complex special effects to be implemented into games by developers, a succesor to the old Hardware Transform and Lighting that were present during the days of Direct X 7 GeForce 2 series and Radeon 7xxx series. But this is OpenGL you say, well lets just say that OpenGL also use the similar feature with some minor differences.
    For a more technical terms regarding shaders, you may wanna look at this or this

    In this case for Pete's OpenGL2 graphics plugin, the shaders acts as a "post filter" effect wherein it mostly modifies the stuff you see on screen after its already rendered by the PlayStation itself (such as sprites and polygons). That means you can't modify individual effects since you would have to modify the game itself.

    Note before using the shaders: These custom shaders, depending on its function, requires a DirectX 9 Fragment(Pixel) and Vertex Shader 2.0 capable card mostly found on newer graphics cards. Make sure they have the recent drivers for them to support newer shader features/extensions needed for ARB/GLSLANG.(Click ATi or NVIDIA for driver updates for Windows XP)

    For AMD ATi
    Radeon 9500 cards and above

    For NVIDIA
    GeForce FX 5200 and above


    other card manufacturers might also be supported provided that they can do DirectX 9 Shader Model 2.0, but this is not guaranteed.Also,
    Pete noted that its better if your card has at least 8 rendering pipelines to get a good speed in higher settings, although it will still work with cards with lesser pipelines. Cards such as the GeForce FX 5200 and 5600 may suffer in terms of performance when shaders are used. At least a GeForce FX 5900 series/ GeForce 6/7 series or Radeon 9600XT and above/Radeon X and X1K series is recommended to play most options enabled as well as shader level/internal X and Y resolution set at very high.

    If your not sure if your card support shaders, you may wanna check kenmasters' thread
    regarding checking OpenGL shader capabilities of your card
    (afaik, if you were able to test OpenGL 1.4/1.5/2.0 tests then your fine).
    Note:GeForce FX cards might be inferior to their Radeon Counterparts in terms of performance though, as they are weak in high level shaders.
    Also integrated DX9 cards such as the Radeon X300 and GeForce 6100 and above may also support the shaders but it may give poor performance.

    LINKS

    Most of the custom shader links are available at Pete's Website along with Guest's Shader Collection

    Guest's Shader Collection: Contains many custom shader files including both Cartoon Shader and StoryBook Shaders, included is a readme on what the shaders or what effect they produce.
    Guest's Shader Pack 2.2+ can be downloaded in his site here.

    ShadX's Natural Vision Shader (Modded by SimoneT): This one is originally done by ShadX and was modded by SimonT for better speed.The shader intensifies colors/makes them more vibrant than normal as well as gives an anti-aliased look. This custom shader is better suited for cards which support 4096x4096 rendering resolutions (Very high X/Y internal resolution) such as GeForce FX cards and above and Radeon X1300 and above. (although higher end cards is recommended for more consistent speed)


    SimoneT's Bump Map Shader: as stated, produces a nice bump effect/glass look on PlayStation games. Note that in some situations it will look weird and some it will look awesome depending on the game.

    Steps in using the custom shaders:

    1.After downloading the shaders, unpack or unzip them if they are compressed, and place them on the Shaders folder in ePSXe (or any other folder)

    2. Start Pete's OpenGL2 configuration, check the Shader effect option and select click the button provided in the pic. Point to the location on where you placed the shaders(the unziped/unpacked ones) .Note that some shader such as the stroybook shader needs an additional file that must be placed along with the main shader files.
    [​IMG]

    3. After selecting the location, select if the shader is in GLSlang format(gpuPeteOGL2.vp and gpuPeteOGL2.fp) or in ARB format(gpuPeteOGL2.slv and gpuPeteOGL2.slf)
    [​IMG]

    4. Select the shader intensity level, the intensity level will depend on the shader, example having a Level 4 (Max) level for cartoon shader will give a thicker black boders on polygons while lesser levels is thinner.
    [​IMG]

    5. After setting up the other options such as resolution and filters, click OK and your good to go.

    If you folks have any other additional info, corrections and shader links please Inform me through PM's or posts .

    SAMPLES

    These screenshots are taken on my PC
    Specs:
    AMD AthlonXP 2500+ @ 1.95Ghz
    1024MB DDR400 Ram
    nVidia GeForce 6600GT 128MB GDDR3

    Omega Boost ShadX's Natural Vision Shader (modded by SimoneT)
    [​IMG]


    Final Fantasy VII Guest's Cartoon Shader
    [​IMG]

    Dragon Ball GT: Final Bout Guest's StoryBook Shader (Colored)
    [​IMG]

    A video of FF7 using Storybook shader

    Final Fantasy IX SimoneT's Bump Map shader
    [​IMG]
    Last edited: Oct 1, 2007
  2. NGEmu.com Advertisement

  3. hushypushy

    hushypushy <font color=#FFFFFF><b>the only one you've ever SE Contributors

    Messages:
    21,979
    Likes Received:
    2
    woot! this is a historic moment, you've made it into the FAQ ;)
  4. SimoneT

    SimoneT Not so likeable!

    Messages:
    162
    Likes Received:
    0
  5. ViperXtreme

    ViperXtreme Irregular User Award Winner!

    Messages:
    2,878
    Likes Received:
    12
    ^is this new? i guess ill try it, thanks for the headsup (ill add it in the links)

    @SimoneT: Hi again, it seems that the new shader had some issues at least on my card (GeForce 6600GT 128MB, ForceWare 91.33) on the GLSL one, the ARB one works fine. GLSL variant produces some unusual "violet" colors in the whole screen.
    Last edited: Aug 22, 2006
  6. SimoneT

    SimoneT Not so likeable!

    Messages:
    162
    Likes Received:
    0
    New NV (Natural Vision) version... GLSL bug corrected (I hope).
    Light version added, little bit faster.
    Ciao:guitar:
  7. Coolsvilleman

    Coolsvilleman Emulation to the max! Junior Contributor

    Messages:
    2,560
    Likes Received:
    0
    REally cool looking! Anyway to use these in other Opengl applications such as pc games or other emulators?
  8. ViperXtreme

    ViperXtreme Irregular User Award Winner!

    Messages:
    2,878
    Likes Received:
    12
    ^i think you can have some post process filters similar to this for ATi video cards in their control center, mostly for OpenGL applications too (not sure about D3D). Im not also sure if you can make your own custom filter, that would be nice though.
    (also, i think its mostly for radeon 9500 cards and above only)
  9. Yeloazndevil

    Yeloazndevil Touka <3 Staff Member

    Messages:
    12,437
    Likes Received:
    34
    this deserves a sticky :)
  10. HI-TECH

    HI-TECH New Member

    Messages:
    553
    Likes Received:
    0
    Agreed, excellent thread:thumb:

    I know there is a cartoon shader but was wondering if there was any Cel Shading Style in the works. Would look amazing with the Spider-Man games although the cartoon shaders great with it aswell.
  11. Yeloazndevil

    Yeloazndevil Touka <3 Staff Member

    Messages:
    12,437
    Likes Received:
    34
    try this one, looks nice :)
  12. hushypushy

    hushypushy <font color=#FFFFFF><b>the only one you've ever SE Contributors

    Messages:
    21,979
    Likes Received:
    2
    oh yeah, oops. i promised viperXtreme that i would, and i didn't do it. my bad :emb:
  13. HI-TECH

    HI-TECH New Member

    Messages:
    553
    Likes Received:
    0
    Thanks can't wait to try it out.:D

    I'll post screenshots of the games I tried this on later.
  14. HI-TECH

    HI-TECH New Member

    Messages:
    553
    Likes Received:
    0
    When loading up my game I come across an error.

    "Shader effects:missing custom file!"

    Does anybody know what I'm doing wrong? And is my nvidia shader good to run this?

    Also I have set the directory of the shaders but don't know to go from there.

    Specs:
    Nvidia 5700 FX
    AMD 2800
    512 DDR SDRAM
  15. ViperXtreme

    ViperXtreme Irregular User Award Winner!

    Messages:
    2,878
    Likes Received:
    12
    its in step 2 of the guide, you need to point out where you extracted the shader files(the red circled in the image) and what type of file they are.
    (btw, did you try extracting the contents of the file?)
    hmm, i think the guide needs some more stuff, will make some revisions soon...

    also, your video card can do shader 2.0, but in terms of speed, ill say its inferior to its radeon 9xxx counterpart

    @hushypushy: thanks hehe, ive forgoten about it also...

    @SimoneT: the last one (NV shader)seemed to worked on my 6600GT now, as well for some FX5700 and regular 6600 cards in GLSLANG mode, the previous one worked fine on a radeon 9600 and X700SE though.
    Last edited: Sep 4, 2006
  16. HI-TECH

    HI-TECH New Member

    Messages:
    553
    Likes Received:
    0
    I pointed out where I wanted to where the shaders are and the types but I keep getting this message below. I'm using the broken glass shader aswell and this is my config.
  17. ViperXtreme

    ViperXtreme Irregular User Award Winner!

    Messages:
    2,878
    Likes Received:
    12
    what drivers are you using? i tried it on a geforce fx 5700LE and it works fine, does the other shaders have the same issue? (ARB).
    are you sure the files are extracted?
  18. HI-TECH

    HI-TECH New Member

    Messages:
    553
    Likes Received:
    0
    I just updated my Nvidia drivers and tested the broken glass shader,everythign seems to be working now.
    Thanks for the advice
  19. SimoneT

    SimoneT Not so likeable!

    Messages:
    162
    Likes Received:
    0
    Ciao a Tutti.
    I have created a new shader for do an "edge dependent blur".
    It look good with most games.
    Here the comparison screenshots:
    1) shader + "screen filtering".
    2) only "screen filtering".
    3) no shader no "screen filtering".
    Please report to me your possible problems.
    Have fun.
    Ciao.
  20. Coolsvilleman

    Coolsvilleman Emulation to the max! Junior Contributor

    Messages:
    2,560
    Likes Received:
    0
    hey i like your shader simoneT. I have an nvida card, is there an equivalent program like on ati cards for nvidia cards to use shaders?
  21. SimoneT

    SimoneT Not so likeable!

    Messages:
    162
    Likes Received:
    0
    Like Ati "Smartshader" ? I don't know... Sorry.
    Ciao.

Share This Page