Emuforums.com

Go Back   Emuforums.com > PSX Emulation > PSX Plugin Questions & Troubleshooting
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old August 11th, 2006   #1 (permalink)
Irregular User
 
ViperXtreme's Avatar
 
Join Date: Jun 2003
Location: Manila, Philippines
Posts: 1,507
Links and Guides to Custom Shaders for Pete's OpenGL2 plugin

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.


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)


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.


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)



Final Fantasy VII Guest's Cartoon Shader


Dragon Ball GT: Final Bout Guest's StoryBook Shader (Colored)


A video of FF7 using Storybook shader

Final Fantasy IX SimoneT's Bump Map shader
__________________
System Specs? what "system specs?" are those edible?
My Deviantart:
http://viperxtreme.deviantart.com

Last edited by ViperXtreme; October 2nd, 2007 at 06:35.
ViperXtreme is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old August 11th, 2006   #2 (permalink)
the only one you've ever SEEN
 
hushypushy's Avatar
 
Join Date: May 2003
Location: San Francisco
Posts: 21,978
woot! this is a historic moment, you've made it into the FAQ
__________________
Dedicated to mediocrity and repetition since 1994.
hushypushy is offline   Reply With Quote
Old August 21st, 2006   #3 (permalink)
Not so likeable!
 
SimoneT's Avatar
 
Join Date: Feb 2004
Location: Torino (Italy)
Posts: 107
I have updated the "Natural Vision" shader... I have tried to eliminate all bugs in GLSL version. Please report to me if you find ones more.
http://forums.ngemu.com/attachments/...p?d=1156152060
Ciao:guitar:
SimoneT is offline   Reply With Quote
Old August 21st, 2006   #4 (permalink)
Irregular User
 
ViperXtreme's Avatar
 
Join Date: Jun 2003
Location: Manila, Philippines
Posts: 1,507
^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.
__________________
System Specs? what "system specs?" are those edible?
My Deviantart:
http://viperxtreme.deviantart.com

Last edited by ViperXtreme; August 22nd, 2006 at 10:04. Reason: Automerged Doublepost
ViperXtreme is offline   Reply With Quote
Old August 29th, 2006   #5 (permalink)
Not so likeable!
 
SimoneT's Avatar
 
Join Date: Feb 2004
Location: Torino (Italy)
Posts: 107
New NV (Natural Vision) version... GLSL bug corrected (I hope).
Light version added, little bit faster.
Ciao:guitar:
Attached Files
File Type: zip Natural.zip (3.9 KB, 1808 views)
SimoneT is offline   Reply With Quote
Old August 29th, 2006   #6 (permalink)
Emulation to the max!
 
Coolsvilleman's Avatar
 
Join Date: Jan 2004
Location: Canada
Posts: 2,560
REally cool looking! Anyway to use these in other Opengl applications such as pc games or other emulators?
__________________
Q6600 Core 2 Quad || Soundblaster X-Fi Extreme HD || e-VGA 8800GTX || 4096mb 4-4-4-12-2T Dual-Channel RAM || MSI P6N Diamond || 2x 320GB Hardrive || 5.1 Speakers || Remote control || 8x USB 2.0 || DVD/CD ±RW Drive || 1x IEEE1394

www.coolsvilleman.homedns.org Normally down. E-mail me for a DVD @ coolsvilleman@gmail.com
Coolsvilleman is offline   Reply With Quote
Old September 2nd, 2006   #7 (permalink)
Irregular User
 
ViperXtreme's Avatar
 
Join Date: Jun 2003
Location: Manila, Philippines
Posts: 1,507
^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)
__________________
System Specs? what "system specs?" are those edible?
My Deviantart:
http://viperxtreme.deviantart.com
ViperXtreme is offline   Reply With Quote
Old September 2nd, 2006   #8 (permalink)
Tsundere-chan
 
Yeloazndevil's Avatar
 
Join Date: Jul 2002
Posts: 10,373
this deserves a sticky
__________________
Yeloazndevil is offline   Reply With Quote
Old September 2nd, 2006   #9 (permalink)
Registered User
 
Join Date: May 2006
Location: Home
Posts: 550
Quote:
Originally Posted by Yeloazndevil View Post
this deserves a sticky
Agreed, excellent thread

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.
HI-TECH is offline   Reply With Quote
Old September 2nd, 2006   #10 (permalink)
Tsundere-chan
 
Yeloazndevil's Avatar
 
Join Date: Jul 2002
Posts: 10,373
Quote:
Originally Posted by CaptainISO View Post
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.
try this one, looks nice
Attached Files
File Type: rar cellshade.rar (681 Bytes, 1499 views)
__________________
Yeloazndevil is offline   Reply With Quote
Old September 2nd, 2006   #11 (permalink)
the only one you've ever SEEN
 
hushypushy's Avatar
 
Join Date: May 2003
Location: San Francisco
Posts: 21,978
Quote:
Originally Posted by Yeloazndevil View Post
this deserves a sticky
oh yeah, oops. i promised viperXtreme that i would, and i didn't do it. my bad
__________________
Dedicated to mediocrity and repetition since 1994.
hushypushy is offline   Reply With Quote
Old September 2nd, 2006   #12 (permalink)
Registered User
 
Join Date: May 2006
Location: Home
Posts: 550
Quote:
Originally Posted by Yeloazndevil View Post
try this one, looks nice
Thanks can't wait to try it out.

I'll post screenshots of the games I tried this on later.
HI-TECH is offline   Reply With Quote
Old September 3rd, 2006   #13 (permalink)
Registered User
 
Join Date: May 2006
Location: Home
Posts: 550
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
HI-TECH is offline   Reply With Quote
Old September 4th, 2006   #14 (permalink)
Irregular User
 
ViperXtreme's Avatar
 
Join Date: Jun 2003
Location: Manila, Philippines
Posts: 1,507
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.
__________________
System Specs? what "system specs?" are those edible?
My Deviantart:
http://viperxtreme.deviantart.com

Last edited by ViperXtreme; September 4th, 2006 at 08:03.
ViperXtreme is offline   Reply With Quote
Old September 4th, 2006   #15 (permalink)
Registered User
 
Join Date: May 2006
Location: Home
Posts: 550
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.
Attached Images
File Type: jpg config.JPG (125.7 KB, 861 views)
File Type: jpg ps1.JPG (21.4 KB, 692 views)
HI-TECH is offline   Reply With Quote
Old September 5th, 2006   #16 (permalink)
Irregular User
 
ViperXtreme's Avatar
 
Join Date: Jun 2003
Location: Manila, Philippines
Posts: 1,507
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?
__________________
System Specs? what "system specs?" are those edible?
My Deviantart:
http://viperxtreme.deviantart.com
ViperXtreme is offline   Reply With Quote
Old September 5th, 2006   #17 (permalink)
Registered User
 
Join Date: May 2006
Location: Home
Posts: 550
I just updated my Nvidia drivers and tested the broken glass shader,everythign seems to be working now.
Thanks for the advice
HI-TECH is offline   Reply With Quote
Old September 21st, 2006   #18 (permalink)
Not so likeable!
 
SimoneT's Avatar
 
Join Date: Feb 2004
Location: Torino (Italy)
Posts: 107
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.
Attached Images
File Type: jpg shot001.jpg (73.8 KB, 2087 views)
File Type: jpg shot002.jpg (79.4 KB, 1654 views)
File Type: jpg shot003.jpg (90.3 KB, 1666 views)
Attached Files
File Type: zip SmartShader.zip (1.8 KB, 928 views)
SimoneT is offline   Reply With Quote
Old September 21st, 2006   #19 (permalink)
Emulation to the max!
 
Coolsvilleman's Avatar
 
Join Date: Jan 2004
Location: Canada
Posts: 2,560
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?
__________________
Q6600 Core 2 Quad || Soundblaster X-Fi Extreme HD || e-VGA 8800GTX || 4096mb 4-4-4-12-2T Dual-Channel RAM || MSI P6N Diamond || 2x 320GB Hardrive || 5.1 Speakers || Remote control || 8x USB 2.0 || DVD/CD ±RW Drive || 1x IEEE1394

www.coolsvilleman.homedns.org Normally down. E-mail me for a DVD @ coolsvilleman@gmail.com
Coolsvilleman is offline   Reply With Quote
Old September 21st, 2006   #20 (permalink)
Not so likeable!
 
SimoneT's Avatar
 
Join Date: Feb 2004
Location: Torino (Italy)
Posts: 107
Quote:
Originally Posted by Coolsvilleman View Post
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?
Like Ati "Smartshader" ? I don't know... Sorry.
Ciao.
SimoneT is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 18:39.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5