Basis Universal (#313)
* added basis-universal library and KHR_texture_basisu gltf support * fix * added basisu license * added basis transcode; added basis encode; added ktx2 encode; resource manager file types query; * added BC decompressor * added lightmap compression BC6; added DirectXTex BC libs; * version bump * removed directxtex, using simpler lightmap compression instead * fix * added ktx2 conv button; normal maps fix; * don't rely on zero-initialization of graphics resources * don't always enable vrs classification
This commit is contained in:
@@ -178,8 +178,9 @@ void RendererWindow::Create(EditorComponent* editor)
|
||||
variableRateShadingClassificationCheckBox.SetTooltip("Enable classification of variable rate shading on the screen. Less important parts will be shaded with lesser resolution.\nRequires Tier2 support for variable shading rate");
|
||||
variableRateShadingClassificationCheckBox.SetPos(XMFLOAT2(x, y += step));
|
||||
variableRateShadingClassificationCheckBox.SetSize(XMFLOAT2(itemheight, itemheight));
|
||||
variableRateShadingClassificationCheckBox.OnClick([](wiEventArgs args) {
|
||||
variableRateShadingClassificationCheckBox.OnClick([editor](wiEventArgs args) {
|
||||
wiRenderer::SetVariableRateShadingClassification(args.bValue);
|
||||
editor->ResizeBuffers();
|
||||
});
|
||||
variableRateShadingClassificationCheckBox.SetCheck(wiRenderer::GetVariableRateShadingClassification());
|
||||
AddWidget(&variableRateShadingClassificationCheckBox);
|
||||
|
||||
Reference in New Issue
Block a user