Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,248 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Introduction to HLSL shaders [Re: NMS] #42770
10/31/05 20:51
10/31/05 20:51
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
and you attach this to an entity?


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: Introduction to HLSL shaders [Re: Marco_Grubert] #42771
10/05/06 06:51
10/05/06 06:51
Joined: Jul 2006
Posts: 1
F
figurefour Offline
Guest
figurefour  Offline
Guest
F

Joined: Jul 2006
Posts: 1
Just a question about the Shaders, used the example from the AUM Magizine 56 in realtion to the colours used Is it possible to have more then 3 colours representing the bitmaps.

Just wondering incase the max number is 3.

Have tried to use more though get a strange error message.

Just really like to know if it is possible I'll get back to it otherwise well think of another way.

Thanks in advance.

The main question here is, Is it possible to use more then 3 colours to swap the bitmaps too?.

Re: Introduction to HLSL shaders [Re: NMS] #42772
10/23/06 16:10
10/23/06 16:10

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I'm complete new ... I've understand how a shader work, and I've downloaded the DirectX SDK, but how can I create a shader - document (*.fx) ...
Need i compile it or something like that or just like .php create a .txt file and rename it to .fx?
and: can i use ALL functions of a shader in GS6 ?(I've got the extra ed.)
thanks for all answers!

Re: Introduction to HLSL shaders [Re: ] #42773
10/23/06 17:04
10/23/06 17:04
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Quote:

Need i compile it or something like that or just like .php create a .txt file and rename it to .fx?




You have to create just a text file and name it to .fx.

Quote:

can i use ALL functions of a shader in GS6 ?(I've got the extra ed.) thanks for all answers!




The extra edition doesn't support any shaders.


Always learn from history, to be sure you make the same mistakes again...
Re: Introduction to HLSL shaders [Re: Uhrwerk] #42774
04/13/07 12:30
04/13/07 12:30
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
sorry but when I attach this .fx to material... my model is invisible
Why?! No errors appears but no visible model to


Never say never.
Re: Introduction to HLSL shaders [Re: tompo] #42775
07/31/07 22:10
07/31/07 22:10
Joined: Jul 2007
Posts: 6
N
Nimso Offline
Newbie
Nimso  Offline
Newbie
N

Joined: Jul 2007
Posts: 6
I get the same thing as tompo, but mine has an error.
just after SUCCESSFULLY compiling the level, I get the message:

"Error in effect: grasser(1) : syntax error"

(grasser is the name of my material, it's a grass shader)

Why is this???

remember this is AFTER compiling successfully!

EDIT: One last thing, would the shaders from Hitman 4 Blood Money work on 3DGS A6, they are .fx's and I'm pretty sure that A6 can handle shader 2.0!

Last edited by Nimso; 07/31/07 22:19.
Re: Introduction to HLSL shaders [Re: Nimso] #42776
10/27/07 12:42
10/27/07 12:42
Joined: Jul 2007
Posts: 6
N
Nimso Offline
Newbie
Nimso  Offline
Newbie
N

Joined: Jul 2007
Posts: 6
is anyone EVER gonna post here or what, coz I STILL can't figure out why the hell my copy of Gamestudio so STONED!

it just doesn't like BASIC HLSL scripts!

it can't handle "float" with any number after it, neither does it ever understand the " : " in a script, I've tested these shaders on other things, it's just too Stoned!!!!!!!!!

Re: Introduction to HLSL shaders [Re: Nimso] #42777
10/28/07 01:04
10/28/07 01:04
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
start a thread asking the question in detail with examples of your code.

no example = no visible problem = no solution.

julz


Formerly known as JulzMighty.
I made KarBOOM!
Re: Introduction to HLSL shaders [Re: Nimso] #42778
10/28/07 06:09
10/28/07 06:09
Joined: Jul 2006
Posts: 503
Australia
A
adoado Offline

User
adoado  Offline

User
A

Joined: Jul 2006
Posts: 503
Australia
Quote:

is anyone EVER gonna post here or what, coz I STILL can't figure out why the hell my copy of Gamestudio so STONED!





What version of 3dgs do you have?


Visit our development blog: http://yellloh.com
Re: Introduction to HLSL shaders [Re: adoado] #42779
11/04/07 12:38
11/04/07 12:38
Joined: Jul 2007
Posts: 6
N
Nimso Offline
Newbie
Nimso  Offline
Newbie
N

Joined: Jul 2007
Posts: 6
That last post answered the problem, I had 6.22 which I found couldn't handle the shaders anyway, but I now have them working, I got A7.04,

Thanks to anyone that helped anyway,

to the guy who got invisible models, it's most probably the shader coding, I get it sometimes!

Page 2 of 2 1 2

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