
| Homepage | Members | Register | Login | Search | Old board |
![]() |
| Author | Topics » Book an abo for this thread | | ||
moi Status:Offline Date registered: 19.12.2005 Post:4 Send Message |
Greetings! I'm impressed by the various effects easily obtained by using shaders with the OGL2 plugin, so I hacked something together on top of a SNES emulator to use shaders made for pete's OGL2 plugin for the same purpose. The problem is though, I'm not sure exactly what to pass the shader for uniforms. Could someone tell me what the OGL2Size and OGL2Param vectors should be populated with in terms of texture size, portion of the texture currently being used, output screen size, or whatever? Thanks. | |||
ShadX ![]() Real addict ![]() ![]() ![]() Status:Offline Date registered: 20.01.2005 Post:267 Send Message |
OGL2Size.xy is the emulated PSX VRAM size (pbuffer size), not the texture size... The original PSX VRAM size is 1024x512 but with OGL2 plugin you can configure it up to 4096x2048 (vh-x, vh-y). | |||
moi Status:Offline Date registered: 19.12.2005 Post:4 Send Message |
Perfect! | |||
| Similarly threads: | |||
| Topics | Created by | Replies | Boardname |
| Natural Vision Shader + AA Shader v2.o = Best Shader for 2d !! | zaykho | 10 | pete_bernert |
| Japanese Naval Aviation Uniforms and Equipment 1937-45 | Jogibaer | 0 | raidenjack |
| MMJ's 4-in-1 Shader | MegaManJuno | 10 | pete_bernert |
| 4-in-1 Shader v1.10 | MegaManJuno | 3 | pete_bernert |
| Shader | Aquamarin | 0 | schaddi |
![]() |