6 lines
159 B
Plaintext
6 lines
159 B
Plaintext
|
#ifdef USE_DISPLACEMENTMAP
|
||
|
|
||
|
transformed += normalize( objectNormal ) * ( texture2D( displacementMap, uv ).x * displacementScale + displacementBias );
|
||
|
|
||
|
#endif
|