• 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 ... 348 349 350 351 352 ... 368 Next »

Shader Landuage Docs?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Shader Landuage Docs?
09-06-2009, 06:09 PM
#1
thegamefreak0134 Offline
Exit Mouse
***
Posts: 165
Threads: 14
Joined: Mar 2009
I want to write a shader for Dolphin, and I can't really make heads or tails of what code is available to me. I figured out enough to make a simple saturation filter based on the code that I saw in the other shaders provided (it halfs the color saturation of the output image) but that was largely tinkering and I'll admit, I was fortunate to figure it out.

Is there any documentation for the shader language? Is it specific to Dolphin, and if so, how does it work? Is it some common language used in all games, and again if so, where are the docs for it, or what should I be googling to find said docs?

If you can just give me a quick tip, I want the rendered depth information for each pixel in the shader. I've got a set of red/cyan 3D glasses, and I'm trying to improve upon the stereoscopic shader and make it actually *work*. ^_^ I'm pretty sure how to accomplish this, but I don't know how to get at the depth information that I would need.

Thanks in advance.
The only good zombie is a live zombie.
Website Find
Reply
09-06-2009, 09:49 PM
#2
death-droid Offline
Member
***
Posts: 180
Threads: 0
Joined: Apr 2009
The OpenGL shaders are CG shaders....
Find
Reply
« Next Oldest | Next Newest »


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


Users browsing this thread:



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode