2020_1021 Terrain Edit ( Texture Splatting ) 1. Texture Editor 더보기 #pragma once class TerrainEditor : public Transform { private: typedef VertexUVNormalTangentAlpha VertexType; // public: class BrushBuffer : public ConstBuffer { public: struct Data { int type; Float3 location; float range; Float3 color; }data; // BrushBuffer() : ConstBuffer(&data, sizeof(Data)) { data.type = 0; data.location = Float3(0, 0, 0); data.range = 10.0f; data.colo.. DX11 3D Game Programming 4년 전