Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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 | chip programmers | 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