| 1036 | } |
| 1037 | |
| 1038 | void Terrain::SetColorTexture(const char *path) { |
| 1039 | color_path = path; |
| 1040 | color_bitmap = Engine::Instance()->GetAssetManager()->LoadSync<ImageSampler>(path); |
| 1041 | color_texture_ref = Engine::Instance()->GetAssetManager()->LoadSync<TextureAsset>(path, PX_SRGB, 0x0); |
| 1042 | } |
| 1043 | |
| 1044 | void Terrain::SetWeightTexture(const char *path) { |
| 1045 | weight_map_path = path; |
no test coverage detected