Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, Quad, VoroneTZ, 1 invisible), 623 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
low rendering speed when using shaders #96585
10/30/06 14:20
10/30/06 14:20
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
last week I was programming a shader for level geometry.
it is a base shader. using 2 textures( level texture and shadow map)
but I noticed the rendering was around 5 or 6 times slower than the normal built in geometry renderer.
I know the more passes there are used, the slower the shader,
but has anyone some tips for me?


Check out the throwing game here: The throwing game
Re: low rendering speed when using shaders [Re: Roel] #96586
10/30/06 14:44
10/30/06 14:44
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
Quote:

last week I was programming a shader for level geometry.




and you are wondering about low performance??

Re: low rendering speed when using shaders [Re: ello] #96587
10/30/06 15:00
10/30/06 15:00
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
I know the manual said shaders are slow.
but is ther no possibility to make faster shaders?


Check out the throwing game here: The throwing game
Re: low rendering speed when using shaders [Re: Roel] #96588
10/30/06 15:19
10/30/06 15:19
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
It might be that your shader could be written in a more optimized way, but we can't judge that without seeing the code. However, shaders applied to level geometry are always slow. Personally, I use models for all my levels.

Re: low rendering speed when using shaders [Re: Excessus] #96589
10/30/06 15:25
10/30/06 15:25
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
ok
but is there a way to assign textures fast to models?
I always have to make md2 maps. that can cost a long time


Check out the throwing game here: The throwing game
Re: low rendering speed when using shaders [Re: Roel] #96590
10/30/06 15:28
10/30/06 15:28
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
autoUV mapping could be a solution for you, means quick mapping with cube/sphere/cylinder/face setting. Functions like this come with blender, c4d, (g)max, wings3d [there are the ones i know for shure) and many others.

Re: low rendering speed when using shaders [Re: Roel] #96591
10/30/06 15:28
10/30/06 15:28
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Yes, texturing is the most difficult thing about creating a level from models. In MED, it's especially difficult so I suggest looking into another modelling package like blender.

Re: low rendering speed when using shaders [Re: Excessus] #96592
10/30/06 15:29
10/30/06 15:29
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
thanks. very much. I 'll try it


Check out the throwing game here: The throwing game
Re: low rendering speed when using shaders [Re: Roel] #96593
10/30/06 15:32
10/30/06 15:32
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
Yes currently level geometry is very very slow if you use shaders.


Sphere Engine--the premier A6 graphics plugin.
Re: low rendering speed when using shaders [Re: Matt_Aufderheide] #96594
10/31/06 14:11
10/31/06 14:11
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline OP
Senior Member
Roel  Offline OP
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
I am creating a game that has levels that are indoor and outdoor.
it would be difficult to make them with the model editor.
and I don't think it is very fast at rendering if you convert wmp 2 mdl.
because you keep the blocks


Check out the throwing game here: The throwing game
Page 1 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