displacementmapVertex top-level property

String displacementmapVertex
getter/setter pair

Implementation

String displacementmapVertex = """
#ifdef USE_DISPLACEMENTMAP

	transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias );

#endif
""";