Help With Detail Map And FFP MultiTexture Terrain

Posted By: Grafton

Help With Detail Map And FFP MultiTexture Terrain - 10/21/05 19:25

I am using a 3 texture FFP effect on my terrain (Thanks Steempipe!). The textures are 256 x 256 and the effect tiles them 8 times. The textures are mipmapped.

The problem is when the view is close to the terrain, the textures are blurred since they cover such a large area. I think I need to use detail maps to create detail at this range. These maps would probably need to be either much larger than the textures, or tiled many more times than the textures themselves. However I am already setting a matrix for the tiling in the event function.

So how can I add detail maps and tile them even more than the terrain, or is there a better way? Any ideas?
Thanks!
Posted By: Steempipe

Re: Help With Detail Map And FFP MultiTexture Terrain - 10/21/05 22:45

I have no time this weekend. But next week I might be able to find an old FX file on my computer that may help.
Posted By: BionicHero

Re: Help With Detail Map And FFP MultiTexture Terrain - 10/22/05 09:47

I have a similar problem but at the moment I fear there's no real solution for it since you are only able to use one (user defined) matrix in the effect statement. However I pointed this out to Conitec and JCL said that he would implement a way to use general purpose matrices (var[16] arrays) in effects.
Posted By: Grafton

Re: Help With Detail Map And FFP MultiTexture Terrain - 10/22/05 16:54

That would be great if you think you may have a solution Steempipe! I am
interested in any approach or idea, thanks!

I hope JCL does do that BionicHero, but it seems that would not be in the
immediate future I was hoping there would be a fix before "detail_size"
became obsolete language.

It would be even nicer if the detail would be only applied a certain distance
from the camera, this would prevent noise further away. On second thought,
I guess mip mapping the detail would take care of this.
© 2024 lite-C Forums