Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
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
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: shader snippets (2): pp-specular/diffuse, text [Re: Machinery_Frank] #131938
05/29/07 17:02
05/29/07 17:02
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline OP
Expert
Joey  Offline OP
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
commercial, 6.51.2. it was only a small level, though.

Re: shader snippets (2): pp-specular/diffuse, text [Re: Machinery_Frank] #131939
05/29/07 17:04
05/29/07 17:04
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
I got horrible framerate with a simple shader that muliplied the shadowmap by 2.

It's unusable in A6...


xXxGuitar511
- Programmer
Re: shader snippets (2): pp-specular/diffuse, text [Re: xXxGuitar511] #131940
05/29/07 18:09
05/29/07 18:09
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline OP
Expert
Joey  Offline OP
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
not really, but i heard that argument serveral times (so i believe you must be right somehow). is there an explanation? my level is really simple, you know, and it might indeed become a lot slower.

Re: shader snippets (2): pp-specular/diffuse, text [Re: Machinery_Frank] #131941
06/01/07 02:17
06/01/07 02:17
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Quote:

I tested it not only with a small level - I checked a bigger bsp level and even simple FFP-materials via auto-material produced less than 10 fps.




Did you try this code? I've tried it and (after fixing an minor error) it ran at a solid 75fps when used on 1 texture on blocks everywhere (not too big of a level indeed). 4 lights is no problem. When I tried to assign the same material to 2 block textures though it cut the fps in half, running at a steady 30fps. I do think this shader works best on models like you say, because when applied to a model it stays at 75fps,

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: shader snippets (2): pp-specular/diffuse, text [Re: PHeMoX] #131942
06/01/07 08:24
06/01/07 08:24
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline OP
Expert
Joey  Offline OP
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
how comes it gets slower when applied to several level textures?

Re: shader snippets (2): pp-specular/diffuse, text [Re: Joey] #131943
06/01/07 08:38
06/01/07 08:38
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Double the amount of passes I guess,

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: shader snippets (2): pp-specular/diffuse, text [Re: PHeMoX] #131944
06/01/07 10:10
06/01/07 10:10
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline OP
Expert
Joey  Offline OP
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
weird behaviour. level blocks are rendered triangle by triangle, aren't they?

Re: shader snippets (2): pp-specular/diffuse, text [Re: Joey] #131945
06/01/07 11:07
06/01/07 11:07
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
yes. I already wrote that a few posts above.


Models, Textures and Games from Dexsoft
Re: shader snippets (2): pp-specular/diffuse, text [Re: Machinery_Frank] #131946
06/08/07 16:01
06/08/07 16:01
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline OP
Expert
Joey  Offline OP
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
yeah, but why does that double the amount of passes then? sounds not logical to me.

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