HomeForumsWhat's newResources 
 
 
Yabause Gouraud shading
mic - Sep 17, 2008
 mic Sep 17, 2008
This thread may concern mainly the Yabause developers..

I went ahead and added support for Gouraud shading to Yabause's OpenGL renderer (based on 0.9.7). You can get the source files that I modified from http://jiggawatt.org/badc0de/yagourau.zip...

My implementation is based on a shader, so it'll only work on Windows (or any other PC OS that has a decent OpenGL driver). But if you want to use my code you could just #ifdef the new parts so that they are ignored on other targets.

Here's a comparison between a video capture from my Saturn (top) and a screen dump from the modified Yabause (bottom) running this test program: http://jiggawatt.org/gshade.rar...




 rorirub Sep 17, 2008
Can you please post an iso version of that?

 mic Sep 17, 2008
An ISO? Of the test program..? I have no idea of how to do that. My Saturn isn't modded so I can't run demos from CD, which is why I only write stuff that can be run through the PAR+.

 Runik Sep 18, 2008
That's interesting ... when I run your program on Saturnin there's no shading at all ...

But that was something that I added long ago, for sure ... so maybe it isn't plugged correctly, or it's not working at all

It's great to have the Saturn output for reference, it'll help the programming (even if it's not Yabause )

 rorirub Sep 20, 2008

mic said:
An ISO? Of the test program..? I have no idea of how to do that. My Saturn isn't modded so I can't run demos from CD, which is why I only write stuff that can be run through the PAR+.


uh, how did you run it on your saturn then?

 mic Sep 20, 2008

rorirub said:
uh, how did you run it on your saturn then?


With a PAR+ and USB DataLink.