Large Scale Deformation Performance

nindim

18-03-2007 21:44:41

It seems as thought he texturestretch factor specified in my .cfg directly impacts on how quickly the program can handle real time deformations.

The deformation I am applying is a 96*96 brush. When the texture stretch factor is 2, the lowest I can make the framerate go is about 95fps from roughly 350-400fps the rest of the time. With a texturestretch factor of 4 the framerate goes down to 20fps during deformation all the time. Can anyone explain this? It doesnt seem like the texture should really affect the deformation.

Im using a modified PLSplattingShaderLit. Just a base texture for ambient and splatting for directional light. I have made it so it just does one pass for both ambient and directional plus a lightmap (which limits number of directional lights but I only need one for the sun anyway).

Any ideas?