├── .gitignore ├── index.html ├── index.js ├── index.js.map ├── package.json ├── src ├── Program.js ├── TextureManager.js ├── fragment.glsl ├── index.js ├── material.js └── vertex.glsl ├── textures ├── Pebbles_002_COLOR.jpg ├── Pebbles_002_DISP.png ├── Pebbles_002_NRM.jpg ├── Pebbles_002_SPEC.jpg ├── Sand 002_COLOR.jpg ├── Sand_001_COLOR.png ├── Sand_001_DISP.png ├── brick_floor_tileable_Base_Color.jpg ├── brick_floor_tileable_Displacement.jpg ├── small_metal_debris_Ambient_Occlusion.jpg └── small_metal_debris_Base_Color.jpg └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/index.html -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/index.js -------------------------------------------------------------------------------- /index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/index.js.map -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/package.json -------------------------------------------------------------------------------- /src/Program.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/src/Program.js -------------------------------------------------------------------------------- /src/TextureManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/src/TextureManager.js -------------------------------------------------------------------------------- /src/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/src/fragment.glsl -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/src/index.js -------------------------------------------------------------------------------- /src/material.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/src/material.js -------------------------------------------------------------------------------- /src/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/src/vertex.glsl -------------------------------------------------------------------------------- /textures/Pebbles_002_COLOR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/Pebbles_002_COLOR.jpg -------------------------------------------------------------------------------- /textures/Pebbles_002_DISP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/Pebbles_002_DISP.png -------------------------------------------------------------------------------- /textures/Pebbles_002_NRM.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/Pebbles_002_NRM.jpg -------------------------------------------------------------------------------- /textures/Pebbles_002_SPEC.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/Pebbles_002_SPEC.jpg -------------------------------------------------------------------------------- /textures/Sand 002_COLOR.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/Sand 002_COLOR.jpg -------------------------------------------------------------------------------- /textures/Sand_001_COLOR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/Sand_001_COLOR.png -------------------------------------------------------------------------------- /textures/Sand_001_DISP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/Sand_001_DISP.png -------------------------------------------------------------------------------- /textures/brick_floor_tileable_Base_Color.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/brick_floor_tileable_Base_Color.jpg -------------------------------------------------------------------------------- /textures/brick_floor_tileable_Displacement.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/brick_floor_tileable_Displacement.jpg -------------------------------------------------------------------------------- /textures/small_metal_debris_Ambient_Occlusion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/small_metal_debris_Ambient_Occlusion.jpg -------------------------------------------------------------------------------- /textures/small_metal_debris_Base_Color.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/textures/small_metal_debris_Base_Color.jpg -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RumyantsevMichael/webgl-displacement-mapping/HEAD/webpack.config.js --------------------------------------------------------------------------------