We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b8d17b commit 980d095Copy full SHA for 980d095
src/client/tile.h
@@ -250,6 +250,12 @@ struct TileSpec
250
}
251
material.BackfaceCulling = (material_flags & MATERIAL_FLAG_BACKFACE_CULLING)
252
? true : false;
253
+ if (!(material_flags & MATERIAL_FLAG_TILEABLE_HORIZONTAL)) {
254
+ material.TextureLayer[0].TextureWrapU = video::ETC_CLAMP_TO_EDGE;
255
+ }
256
+ if (!(material_flags & MATERIAL_FLAG_TILEABLE_VERTICAL)) {
257
+ material.TextureLayer[0].TextureWrapV = video::ETC_CLAMP_TO_EDGE;
258
259
260
261
void applyMaterialOptionsWithShaders(video::SMaterial &material) const
0 commit comments