{"repo":"emirhanyener/three-interior-plane","free":true,"listed":false,"github":"https://github.com/emirhanyener/three-interior-plane","clone":"git clone https://github.com/emirhanyener/three-interior-plane.git","description":"Interior mapping with shader in Three.js. Color and texture of all surfaces can be individually changed using shader uniform.","language":"JavaScript","stars":56,"topics":["glsl","glsl-shader","javascript","javascript-project","shader","three","threejs"],"license":"MIT","category":"game-templates","readme_excerpt":"three-interior-plane Interior mapping with shader in Three.js. Color and texture of all surfaces can be individually changed using shader uniform. Usage Import Create Create a new plane as an Object3D class (ThreeInteriorPlane derivative) and then add it to the scene. Setting Parameters You can change any parameter in runtime(color, texture, depth, shadow...). Uniforms Uniform Name Description Type :------------------------ :------------- :------------- uInteriorRowCount Same interior grid row count[1-infinity] Number uInteriorColCount Same interior grid column count[1-infinity] Number uInteriorDepth Interior z depth[0-infinite], for long interiors Number uShadowIntensity Interior shadow power[0-1], greater z value - stronger shadow Number uFrontWallHasTexture If any front wall texture uploaded, set value to true.(depended to uFrontWallTexture uniform) Boolean uFrontWallTexture Front wall texture data Texture uFrontWallTextureEnabled Front wall texture visibility Boolean uBackWallColor If any back wall texture not uploaded, then use solid color Color uBackWallHasTexture If any back wall texture uploaded, set value to true.(depended to uBackWallTexture uniform) Boolean uBackWallTexture Back wall texture data Texture uBackWallTextureEnabled Back wall texture visibility Boolean uLeftWallColor If any left wall texture not uploaded, then use solid color Color uLeftWallHasTexture If any left wall texture uploaded, set value to true.(depended to uLeftWallTexture uniform) Boolean uLe","default_branch":null,"files":null,"tree":[],"storefront":"/r/emirhanyener","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/emirhanyener/three-interior-plane/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}