Crystal Space
Welcome, Guest. Please login or register.
July 23, 2014, 11:02:36 am

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8220 Members
Latest Member: Igymatta
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Game Content Creation
| | |-+  get shaders
« previous next »
Pages: [1] Print
Author Topic: get shaders  (Read 5292 times)
SkyFox
Newbie
*
Posts: 47


View Profile Email
« on: January 05, 2008, 03:25:43 pm »

Hello, I was just wondering. Is there somewhere a website that has a bunch of shaders that this engine supports?

Like the furr shader or a normal mapping shader perhaps?

I don't know what shader formats CS supports, so I don't really know what to google on.
« Last Edit: January 06, 2008, 12:20:44 am by SkyFox » Logged
Darek
Newbie
*
Posts: 48



View Profile
« Reply #1 on: January 08, 2008, 04:10:11 pm »

Cg shaders, thousands laying over internet.
But also you need to write small wrapper for them to connect CS.
Logged
SkyFox
Newbie
*
Posts: 47


View Profile Email
« Reply #2 on: January 10, 2008, 10:28:11 am »

So you know a little bit about writing shaders. Could you tell me the page you found that information about shader wrappers? Those wrappers are xml right?

'cos I don't know anything about shader coding, or how to write a wrapper. The CS manual doesn't seem to have much examples, or clear information about shader coding. And nothing is said about shader wrappers that are needed. I usually just try out the present shaders in blender2crystal on my models, but that's very restricting since they all look pretty much the same and others just give black meshes.
« Last Edit: January 15, 2008, 06:55:58 pm by SkyFox » Logged
Darek
Newbie
*
Posts: 48



View Profile
« Reply #3 on: January 13, 2008, 11:50:51 am »

CS docs says enough about shaders and it's also self-explanatory when you know Cg language. There are also two movies from CS conference about this. Dig CS site for this.
Logged
SkyFox
Newbie
*
Posts: 47


View Profile Email
« Reply #4 on: January 16, 2008, 08:34:27 am »

I see Cg creates pixel shaders as well. But in the "CS\data\shader" directory all shaders seem to  be vertex shaders(return value seems to be a vertex). Wonder if CS supports pixel shaders as well.
« Last Edit: January 16, 2008, 07:22:35 pm by SkyFox » Logged
bookeater2
Newbie
*
Posts: 45


View Profile Email
« Reply #5 on: January 18, 2008, 07:29:14 pm »

yes, it supports them, this is where you could find one as far as I know

CS\data\shader\specular\specular.cgfp
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.61 seconds with 16 queries.