فهرست منبع

ATOM-15295 Remove Unnecessary Enable Material Properties

Updated the parallax sample to use the useTexture flag instead of the enable flag for toggling the feauture, since "enable" has been removed.
Chris Santora 4 سال پیش
والد
کامیت
d0885eac4e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Gem/Code/Source/ParallaxMappingExampleComponent.cpp

+ 1 - 1
Gem/Code/Source/ParallaxMappingExampleComponent.cpp

@@ -25,7 +25,7 @@
 
 
 namespace AtomSampleViewer
 namespace AtomSampleViewer
 {
 {
-    static const char* ParallaxEnableName = "parallax.enable";
+    static const char* ParallaxEnableName = "parallax.useTexture";
     static const char* PdoEnableName = "parallax.pdo";
     static const char* PdoEnableName = "parallax.pdo";
     static const char* ParallaxFactorName = "parallax.factor";
     static const char* ParallaxFactorName = "parallax.factor";
     static const char* ParallaxHeightOffsetName = "parallax.offset";
     static const char* ParallaxHeightOffsetName = "parallax.offset";