Blurry lines between further away tiles
Blurry lines between further away tiles
I am making a class that generates scene nodes from a 3D array to make map out of cubes like in the screenshot. The problem is the further tiles have blurry lines between them. Anyone know why this would happen?
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm
Is that done like this?
I tried all three clamp types. It didn't change anything. (Thanks for all the help so far though!)
Code: Select all
node->getMaterial(0).TextureLayer[0].TextureWrapU = video::ETC_CLAMP;
node->getMaterial(0).TextureLayer[0].TextureWrapV = video::ETC_CLAMP;
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm
Wouldn't turning off mimmaps like this
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, false);
fix the problem then? I called that before I create the textures and it didn't change anything :/
EDIT: nevermind, I turned off the flag from the start of the generate terrain code and turned it back on at the end and it worked. there are no more blurry lines! is this supposed to affect performance? thank you for the help
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, false);
fix the problem then? I called that before I create the textures and it didn't change anything :/
EDIT: nevermind, I turned off the flag from the start of the generate terrain code and turned it back on at the end and it worked. there are no more blurry lines! is this supposed to affect performance? thank you for the help
-
- Competition winner
- Posts: 1123
- Joined: Sun Jun 10, 2007 11:14 pm
-
- Posts: 1
- Joined: Tue Sep 28, 2010 3:02 pm
I have located the file, but dont know how to reach it. If I open my text editor Editplus as Administrator I can browse to c:usersall usersflashfxp and see the file there. But I havent figured out how to browse to the same folder using windows explorer, when I do, I cant see the folder "All users".I can see both hidden files/folders as well as system files.