GPWiki.org
GPWiki.org
It is currently Wed May 22, 2013 12:35 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Feb 16, 2012 6:25 pm 
Rookie

Joined: Thu Feb 16, 2012 6:18 pm
Posts: 2
Greetings,
(Hope this is the correct forum)
What file format are shaders from Halo circa 2003? they have either vertexShader.vsh.x or fragmentShader.fsh.x. My initial guess is that they are some sort of directX but is that format still available for reading/parsing?

thanks!
-=sgd=-


Top
 Profile  
 
PostPosted: Thu Feb 16, 2012 7:27 pm 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1548
Location: burrowed
There is no way to tell from the file or extension alone. Shaderfiles are just text documents, so they could be named fancystuff.fancyextension and it still would work. The only hind that is give though is that the term fragment is used, which hints at being a glsl shader, but again, this can be a deliberate naming choice.

If you can paste some of the code we could probably identify what language it is though.

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
PostPosted: Thu Feb 16, 2012 8:01 pm 
Rookie

Joined: Thu Feb 16, 2012 6:18 pm
Posts: 2
thanks for the reply --
the shader itself appears to be binary -- I uploaded a vertex & a fragment shader here:

http://depositfiles.com/files/me0keitvc
http://depositfiles.com/files/xh3qqrr8s


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group