Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 14:08
ZorroGPT
by TipmyPip. 02/25/26 12:15
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (TipmyPip, Grant, USER0328, AndrewAMD, Quad), 5,740 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how to add a shader #120692
04/01/07 15:25
04/01/07 15:25
Joined: Jan 2007
Posts: 295
Portugal
Sam_Be Offline OP
Member
Sam_Be  Offline OP
Member

Joined: Jan 2007
Posts: 295
Portugal
hi
i have looked around in the wiki and i've found some good shaders.
now my question is how do i add these shaders to my game?? (to an model or the level)
can i copy the shader-script and past it at the bottom of my mainscript, like the matirials???
thanks
sam


GS-Extra Looking for a scripter Suche einen scripter. Estou a procura de um "Scripter".
Re: how to add a shader [Re: Sam_Be] #120693
04/01/07 20:33
04/01/07 20:33
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
with materials:

Code:

material shader_mat
{
effect = <your_effect_file.fx>;//the fx file
}


or:
Code:

material shader_mat
{
effect = " effect code goes here
etc.
etc.
";
}



was posted in the wiki also


BASIC programmers never die, they GOSUB and don't RETURN.
Re: how to add a shader [Re: bstudio] #120694
04/02/07 11:33
04/02/07 11:33
Joined: Jan 2007
Posts: 295
Portugal
Sam_Be Offline OP
Member
Sam_Be  Offline OP
Member

Joined: Jan 2007
Posts: 295
Portugal
thanks!!
now i know how to add a shader.
but when i start the game the engine says "E1192" that means "Unsupported feature". i have the Extra version. do shader only work on version com+???

sam


GS-Extra Looking for a scripter Suche einen scripter. Estou a procura de um "Scripter".
Re: how to add a shader [Re: Sam_Be] #120695
04/02/07 11:46
04/02/07 11:46
Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Machinery_Frank Offline
Senior Expert
Machinery_Frank  Offline
Senior Expert

Joined: Nov 2004
Posts: 7,121
Potsdam, Brandenburg, Germany
Quote:

do shader only work on version com+???




Yes. Unfortunately this is the case.


Models, Textures and Games from Dexsoft

Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1