HLSL shader

DarkScythe
Senior Chief Petty Officer
Posts: 243
Joined: 23 Sep 2009, 08:57

HLSL shader

Post by DarkScythe »

I found many hlsl shader for direct x9 but I think the workspace cannot read this file format to think that the workspace engine is a direct x9, and also the hlsl brick script node when you try to import script it only read xml not the native hlsl script.

I think this shader will bring true reflection to the workspace side.


thanks
User avatar
Prodigy
Site Admin
Posts: 957
Joined: 21 May 2009, 14:46
Type the number ten into the box: 0
Location: Uruguay

Re: HLSL shader

Post by Prodigy »

The user with more experience with Hlsl by far is parva, i tried to implement some hlsl codes on truespace but i do not fully understand how it works, seems is not exactly the same but is possible to implement new features on dx9 like true reflection realtime ambient occlussion and more buy yet without any good result.

Hope parva bring some light on this.. anyone still in contact with parva??
Marcel! where are you?!! :lol:
๑۩۞۩๑ prodigy ๑۩۞۩๑
User avatar
Délé
Chief Petty Officer
Posts: 84
Joined: 24 May 2009, 10:08
Type the number ten into the box: 0

Re: HLSL shader

Post by Délé »

Parva would certainly be the guy to ask here, but I'll answer as best I can. Someone can correct me if I'm wrong.

To work in tS, I believe you would have to break the scripts up into smaller bricks that you would then link together to create each shader (texture, model, normal, etc.). So unfortunately I don't think it's as simple as copy and paste. You would have to adapt the shaders to the trueSpace environment. That would require some knowledge of how shaders are set up in tS as well as some HLSL scripting knowledge. You would need to be able to pick apart the HLSL code, and create the necessary bricks to replicate that in tS. It would take a bit of work.
-Délé
http://www.GrokShockStudios.com" onclick="window.open(this.href);return false;
v3rd3
Lieutenant Commander
Posts: 1191
Joined: 21 May 2009, 20:04

Re: HLSL shader

Post by v3rd3 »

Dark Scythe ... where are you finding these shaders?
User avatar
marcel
Captain
Posts: 2247
Joined: 21 May 2009, 19:52
Type the number ten into the box: 0
Location: paris - France

Re: HLSL shader

Post by marcel »

Prodigy wrote:Marcel! where are you?!! :lol:
which? i am here but i don't know what all my clones do :lol:
Design - illustration - Animation
http://www.crea-vision.fr
DarkScythe
Senior Chief Petty Officer
Posts: 243
Joined: 23 Sep 2009, 08:57

Re: HLSL shader

Post by DarkScythe »

Dark Scythe ... where are you finding these shaders?
mostly you can find it in nvidia heres the link http://http.download.nvidia.com/develop ... ibestpract

and also here [url]hhttp://www.steelskies.com/article/4/directx-shader-effects[/url]

the file format of hlsl is this two .cgfx and .fx which workspace cannot read
actually there is a tutorial in the pdf manual but only a little.

I think we also need clinton man cause look how he able to call the file format of indigo material :mrgreen:

thanks for the answer

Return to “General Discussion”