File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/mayaUsd/render/vp2RenderDelegate Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,8 +91,8 @@ const MString kPointSizeParameterName = "pointSize"; //!< Shader parameter
9191const MString kCurveBasisParameterName = " curveBasis" ; // !< Shader parameter name
9292const MString kStructOutputName = " outSurfaceFinal" ; // !< Output struct name of the fallback shader
9393
94- // ! Returns a boolean of whether or not to use shader fragments using the default standardSurface material
95- bool UseStandardSurface ()
94+ // ! Returns a boolean of whether or not we want the standardSurface shader fragment graph fallbacks
95+ bool WantStandardSurfaceFallback ()
9696{
9797 bool useStandardSurface = (MGlobal::executeCommandStringResult (" defaultShaderName()" ) != " lambert1" );
9898 if (TfGetEnvSetting (MAYAUSD_VP2_USE_LAMBERT_FALLBACK)) {
@@ -103,7 +103,7 @@ bool UseStandardSurface()
103103}
104104
105105// ! Boolean of whether or not to use shader fragments using the default standardSurface material
106- const bool _useStandardSurface = UseStandardSurface ();
106+ const bool _useStandardSurface = WantStandardSurfaceFallback ();
107107
108108// ! Enum class for fallback shader types
109109enum class FallbackShaderType
You can’t perform that action at this time.
0 commit comments