View Single Post
Old April 3rd, 2007   #83 (permalink)
GreenImp
ZSNES & ePSXe Beta Tester
 
GreenImp's Avatar
 
Join Date: Feb 2002
Posts: 78
I see a difference in each of their code approach. I thought Shad X & guest.r were net buddies sharing & learning from each other's code. Or am I wrong? I hope that's not the case the are both talented programmers in my eyes.

Anyway I have a question, and a screen shot for guest.r show how pretty his 4xGLSLHqFilter shader looks on Ogre Battle - Limited Edition. ;P

Out of curiosity. Why do you use x2048 y1024 on these floats...
float x = (OGL2Size.x/2048.0)*OGL2Param.x;
float y = (OGL2Size.y/1024.0)*OGL2Param.y;
...instead of a number that's a multiple of 320x240 like x2240 y1120, x2080 y1080, x1920 y960, ect. since you're targeting that screen dimension that's 640x480/1280x960 for your shaders?

When I've used:
float x = (OGL2Size.x/2240.0)*OGL2Param.x;
float y = (OGL2Size.y/1120.0)*OGL2Param.y;
...I use this on 4xGLSLHqFilter, this is the calculation in the screen shot, and x2080 y1080 on a few of your other shaders I got much better results when I have the the Shader level: "4: Maximum"

Sorry about the screen shot being 1280x720. It looks nice on my monitor, and I can run the refresh rate @ 120 Hz while keeping it a dimension that's a multiple of 320x240 since that's what Ogre Battle runs at. =P


Here's my settings on Pete's OpenGL2 if ya wanna know:

Plugin: Pete's OpenGL2 Driver 2.8
Author: Pete Bernert
Card vendor: NVIDIA Corporation
GFX card: GeForce 7600 GT/AGP/SSE/3DNOW!

Resolution/Color:
- 1280x720 Fullscreen - NO desktop changing
- Internal X resolution: 2
- Internal Y resolution: 2
- Keep psx aspect ratio:
- No render-to-texture: off

- Filtering: 2
- Hi-Res textures: 2
- TexWin pixel shader: off
- VRam size: 0 MBytes

Framerate:
- FPS limitation: on
- Frame skipping: off
- FPS limit: Auto

Compatibility:
- Offscreen drawing: 0
- Framebuffer effects: 0
- Framebuffer uploads: 0

Misc:
- Scanlines: on [-1]
- Mdec filter: on
- Screen filtering: on
- Shader effects: 5/4
- Flicker-fix border size: 0
- GF4/XP crash fix: off
- Game fixes: off [00000000]
Attached Images
File Type: jpg Ogre Battle - Limited Edition.jpg (289.6 KB, 672 views)
__________________
-GreenImp

GreenImp's ePSXe Doc

OS: Windows XP professional (SP2) CPU: AMD Atholon XP 2800+ (Barton) Graphics Card: Leadtek GeForce A7600 GT THD (256 DDR3 - AGP) Memory: 1 GB DDR Corsair value Sound Card: Sound Blaster Live! value Mobo: ASUS A7N8X-E Deluxe (nForce 2 Ultra 400)

Last edited by GreenImp; April 3rd, 2007 at 04:03.
GreenImp is offline   Reply With Quote