Tiling textures in d3d 8

Started by
1 comment, last by SlimSpek 22 years, 9 months ago
i was wondering what kind of technique/method i could use to tile a single texture many times on a single polygon.
Advertisement
Use texture coordinates greater than 1.0

For example, (u, v) = (2.0, 2.0) will double the texture in both directions, (u, v) = (1.0, 2.0) will tile only the "vertical" direction.

Experiment with different values to see.
Author, "Real Time Rendering Tricks and Techniques in DirectX", "Focus on Curves and Surfaces", A third book on advanced lighting and materials
wow! worked perfectly, thanks!

This topic is closed to new replies.

Advertisement