[add] PhysxHeightMap
This commit is contained in:
@@ -63,7 +63,7 @@ HRESULT CMonster::Render_OutLine()
|
||||
if (FAILED(Bind_ShaderResources())) {
|
||||
return E_FAIL;
|
||||
}
|
||||
GUI::Begin("OutLine");
|
||||
|
||||
GUI::SetNextItemWidth(80.f);
|
||||
static _float3 vOutLineColor = _float3(1.f, 0.960784376f, 0.933333397f);
|
||||
static _float fOutLineThickness = { 1.f }; // 카메라로부터 거리가 멀어지면 늘어나게끔 바꾸는걸 추천함
|
||||
@@ -73,7 +73,6 @@ HRESULT CMonster::Render_OutLine()
|
||||
GUI::SliderFloat("Thickness", &fOutLineThickness, 0.1f, 2.f, "%.1f");
|
||||
GUI::SliderFloat("Scale", &fOutLineScale, 0.1f, 2.f, "%.1f");
|
||||
GUI::SliderFloat("Power", &fOutLinePower, 0.1f, 2.f, "%.1f");
|
||||
GUI::End();
|
||||
if (FAILED(m_pShaderCom->Bind_RawValue("g_vOutLineColor", &vOutLineColor, sizeof(_float3)))) {
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user