소스 검색

Update main2.cpp

Daniele Bartolini 12 년 전
부모
커밋
37d32257c1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      engine/os/linux/main2.cpp

+ 2 - 2
engine/os/linux/main2.cpp

@@ -195,8 +195,8 @@ void draw(float dt)
 	{
 	{
 		filter = TEXTURE_FILTER_TRILINEAR;
 		filter = TEXTURE_FILTER_TRILINEAR;
 	}
 	}
-	r->set_texture(0, u_albedo_0, grass_texture, filter | TEXTURE_WRAP_CLAMP);
-	r->set_texture(1, u_lightmap_0, lightmap_texture, filter | TEXTURE_WRAP_CLAMP);
+	r->set_texture(0, u_albedo_0, grass_texture, filter | TEXTURE_WRAP_CLAMP_EDGE);
+	r->set_texture(1, u_lightmap_0, lightmap_texture, filter | TEXTURE_WRAP_CLAMP_EDGE);
 
 
 	pose.set_translation(Vec3(0, 0, -1));
 	pose.set_translation(Vec3(0, 0, -1));
 	r->set_pose(pose);
 	r->set_pose(pose);