paint collision map over terrain


17-10-2008 08:57:53


I'm creating map editor based on ETM. I want to paint a collision map over the terrain. I created a texture for collision map by creating a image, each pixel of this image is a tile of terrain. But when i render it, the collision map is blur. See below image for more details:

anyone know what i'm missing?



17-10-2008 09:55:10

Yes, you need to disable texture filtering in the texture unit of your collision map. See Ogre Manual or API reference for that.


17-10-2008 10:04:19

Thank you very much. it works nicely