制作一个铁块,UV不拉伸的,验证接缝问题,铁块需要细分面数
This commit is contained in:
@@ -120,7 +120,7 @@ UTextureRenderTarget2D* AIronBlock::CreateDeformRT(const FString& RTName, int32
|
||||
RenderTarget->AddressX = TA_Clamp;
|
||||
RenderTarget->AddressY = TA_Clamp;
|
||||
// 定义你要清除的颜色 (R=0.5, G=0.5, B=0.5)
|
||||
const FLinearColor ClearColor(128.0f, 128.0f, 128.0f, 256.0f);
|
||||
const FLinearColor ClearColor(0.5, 0.5, 0.5, 1);
|
||||
|
||||
// 调用 Kismet Rendering Library 的清除函数
|
||||
UKismetRenderingLibrary::ClearRenderTarget2D(
|
||||
|
||||
Reference in New Issue
Block a user