low rendering speed when using shaders

Posted By: Roel

low rendering speed when using shaders - 10/30/06 14:20

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?
Posted By: ello

Re: low rendering speed when using shaders - 10/30/06 14:44

Quote:

last week I was programming a shader for level geometry.




and you are wondering about low performance??
Posted By: Roel

Re: low rendering speed when using shaders - 10/30/06 15:00

I know the manual said shaders are slow.
but is ther no possibility to make faster shaders?
Posted By: Excessus

Re: low rendering speed when using shaders - 10/30/06 15:19

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.
Posted By: Roel

Re: low rendering speed when using shaders - 10/30/06 15:25

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
Posted By: broozar

Re: low rendering speed when using shaders - 10/30/06 15:28

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.
Posted By: Excessus

Re: low rendering speed when using shaders - 10/30/06 15:28

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.
Posted By: Roel

Re: low rendering speed when using shaders - 10/30/06 15:29

thanks. very much. I 'll try it
Posted By: Matt_Aufderheide

Re: low rendering speed when using shaders - 10/30/06 15:32

Yes currently level geometry is very very slow if you use shaders.
Posted By: Roel

Re: low rendering speed when using shaders - 10/31/06 14:11

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
Posted By: Matt_Aufderheide

Re: low rendering speed when using shaders - 10/31/06 15:33

Well you cant really make anything with the model editor, you need to use a real 3d modelling program to build levels like this.
Posted By: Roel

Re: low rendering speed when using shaders - 11/06/06 14:01

is there a way to create such levels easyly?
© 2024 lite-C Forums