From 5251ba4722af8f41889b8367e93b97c274753d03 Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Thu, 18 Jan 2024 14:18:14 -0800 Subject: [PATCH] [REMIX-2633] Fixing up some mismatching material parameter defaults between API and MDL --- public/include/remix/remix.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/include/remix/remix.h b/public/include/remix/remix.h index bf2f56abf..c61bac0d0 100644 --- a/public/include/remix/remix.h +++ b/public/include/remix/remix.h @@ -250,9 +250,9 @@ namespace remix { roughnessTexture = {}; metallicTexture = {}; anisotropy = 0.0f; - albedoConstant = { 1.0f, 1.0f, 1.0f }; + albedoConstant = { 0.2f, 0.2f, 0.2f }; opacityConstant = 1.0f; - roughnessConstant = 1.0f; + roughnessConstant = 0.5f; metallicConstant = 0.0f; thinFilmThickness_hasvalue = false; thinFilmThickness_value = 200.f; @@ -372,14 +372,14 @@ namespace remix { normalTexture = {}; tangentTexture = {}; emissiveTexture = {}; - emissiveIntensity = 0.0f; + emissiveIntensity = 40.0f; emissiveColorConstant = { 0.0f, 0.0f, 0.0f }; spriteSheetRow = 1; spriteSheetCol = 1; spriteSheetFps = 0; filterMode = 1; // Linear - wrapModeU = 0; // Repeat - wrapModeV = 0; // Repeat + wrapModeU = 1; // Repeat + wrapModeV = 1; // Repeat static_assert(sizeof remixapi_MaterialInfo == 80); }