Jelajahi Sumber

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 tahun lalu
induk
melakukan
d0885eac4e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Gem/Code/Source/ParallaxMappingExampleComponent.cpp

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

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