• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 314 315 316 317 318 ... 368 Next »

New feature: Post processing shaders
View New Posts | View Today's Posts

Pages (4): « Previous 1 2 3 4
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
New feature: Post processing shaders
06-16-2009, 05:54 PM (This post was last modified: 06-16-2009, 05:57 PM by death-droid.)
#31
death-droid Offline
Member
***
Posts: 180
Threads: 0
Joined: Apr 2009
SpiderTECH there are enough shaders already(In the newer revisions)
Plus anyone can make them if they wanted to Tongue

Oh yeah here is the mad world shader inverted
Code:
uniform samplerRECT samp0 : register(s0);

void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0)
{
float4 emboss = (texRECT(samp0, uv0+1).rgba - texRECT(samp0, uv0-1).rgba)*2.0f;
emboss -= (texRECT(samp0, uv0+float2(1,-1)).rgba - texRECT(samp0, uv0+float2(-1,1)).rgba);
float4 color = texRECT(samp0, uv0).rgba;
if (color.r > 0.8 && color.b + color.b < 0.2)
ocol0 = float4(1,0,0,0);
else {
color += emboss;
if (dot(color.rgb, float3(0.3, 0.5, 0.2)) < 0.5)
ocol0 = float4(1,1,1,1);
else
ocol0 = float4(0,0,0,0);
}
}
Find
Reply
06-16-2009, 06:26 PM
#32
SpiderTECH Offline
Junior Member
**
Posts: 34
Threads: 4
Joined: Apr 2009
Yep that worked. I'll have to do a little tweakin of my own with that code to get it to look right with Prime. As far as the shaders in the new revisions. yes they are cool I especially thought the stereoscopic one was an interesting idea if only we can get the depth info to make it actually work. But new ones are always welcome. especially for those who cant make them like me. I know enough to tinker but not enough to know what most of it means.
Core2Quad Q6700@2600MHz / Asus P5QL-VM DO / 4GB DDR2 PC2-6400 RAM / Geforce 8800GTS (G92-512MB) / X-Fi XtremeMusic / Win7 Pro 64bit / Ps2 controllers for GC and 2 Real Nintendo WiiMotes for the Wii
Find
Reply
06-16-2009, 06:34 PM
#33
mudlord Offline
Member
***
Posts: 61
Threads: 3
Joined: Apr 2009
There's several ways to get depth info:

* Create a depth render target and gather the information from there (or gather the information from the depth attachment to a FBO)
* Use a RGB565 to depth component shader. And then process.
Find
Reply
06-17-2009, 07:22 AM
#34
omegadox Offline
Senior Member
****
Posts: 401
Threads: 17
Joined: Mar 2009
Well find time to look into dealing the depth, so I can finish the stereoscopic shader Smile.
:: System Specs ::
Operating System: Windows 7 Professional x64
Video Card: ATI Radeon HD 5770
CPU: AMD Phenom I X4 9550
RAM: 6GB DDR2
EXP Index: 999999.999999
Find
Reply
04-28-2010, 05:40 PM
#35
torturedutopian Offline
Junior Member
**
Posts: 8
Threads: 1
Joined: Apr 2010
(Hmm, I wrote this in the wrong thread before I guess, so I'm copying it again here, sorry ! Smile

Hi !
I was wondering something... Would it be possible to get the stereoscopic filter to work with different kinds of glasses ? For instance, the cheap transparent disposable glasses ("real3D") given in the movie theatres for Avatar ? (there were 2 distinct technologies, I'm refering to the ones people could keep afterwards)..
Bye !
Find
Reply
04-28-2010, 08:36 PM
#36
admin89 Offline
Overclocker™ ✓ᵛᵉʳᶦᶠᶦᵉᵈ
*******
Posts: 6,889
Threads: 127
Joined: Nov 2009
I tried with svn 5168,it does the same result like svn3380


Attached Files Thumbnail(s)
               
Laptop: (Show Spoiler)
Clevo W230SS : 3200x1800 IPS | i7 4700MQ @ 3.6GHz (Intel XTU + Triple fan mod) | GTX 860M GDDR5 | 128GB Toshiba CFD SSD | 16GB DDR3L 1600MHz
Aspire 715 43G : 1080p 144Hz |  R5 5625U @ 4.3GHz | Nvidia RTX 3050 4GB | 500GB WD SSD  | 16GB DDR4 3200MHz 
Mini PC :: (Show Spoiler)
G3258 @ 4.6GHz | ELSA GTX 750 | Asrock Z87E ITX | 600W SFX 80+ Gold Silverstone + SG06-LITE | Corsair Vengeance 8GB 2000MHz | Scythe Kozuti + Ao Kaze | 45TB 2.5" Ex HDD (in total) , Zelda Gold Wiimote , LE Wii Classic Controller , Gold LE PS3 DualShock , BlackWidow Chroma ,
Now Playing : Xenoblade Definitive Edition on Yuzu - Switch Emu 

 
Find
Reply
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread:



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode