mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Refraction index dieletric material
This commit is contained in:
@ -108,6 +108,7 @@ void Scene::updateGPUData()
|
||||
gpu_mat.emission = material->emission;
|
||||
gpu_mat.roughness = material->roughness;
|
||||
gpu_mat.metallic = material->metallic;
|
||||
gpu_mat.type = material->type;
|
||||
|
||||
_gpu_materials.push_back(gpu_mat);
|
||||
}
|
||||
|
Reference in New Issue
Block a user