added comments at CreateRenderableCube

This commit is contained in:
2022-01-10 18:22:58 +08:00
parent e2af7fb15a
commit e679656604
4 changed files with 57 additions and 25 deletions

View File

@@ -57,7 +57,7 @@ private:
}
{
texture =db->LoadTextureCube(OS_TEXT("res/cubemap/Storforsen4.TexCube"),true);
texture =db->LoadTextureCube(OS_TEXT("res/cubemap/Test.TexCube"),false);
if(!texture)
return(false);
@@ -67,8 +67,8 @@ private:
VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO,
nullptr,
0,
VK_FILTER_LINEAR,
VK_FILTER_LINEAR,
VK_FILTER_NEAREST,
VK_FILTER_NEAREST,
VK_SAMPLER_MIPMAP_MODE_LINEAR,
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,
@@ -118,7 +118,7 @@ private:
{
struct AxisCreateInfo aci;
aci.size=200;
aci.size=GetCameraInfo().zfar;
ro_axis=CreateRenderableAxis(db,axis_mi->GetVAB(),&aci);
}