Three.js实现3D城市扫光效果

上传者: 38674569 | 上传时间: 2021-08-25 20:55:53 | 文件大小: 9.41MB | 文件类型: ZIP
特效
使用Obj 模型 + shader 实线 加载 obj 格式文件加载到 scene中; 使用 ShaderMaterial 材质。

 
 
var Shader = {
vertexShader: `
varying vec3 vp;
void main(){
vp = position;
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}
`,

文件下载

资源详情

[{"title":"( 21 个子文件 9.41MB ) Three.js实现3D城市扫光效果","children":[{"title":"index.js <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"assets","children":[{"title":"city-gry1.obj <span style='color:#111;'> 4.67MB </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"demo1","children":[{"title":"index.js <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"city.gif <span style='color:#111;'> 8.07MB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"RenderPass.js <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"OBJLoader.js <span style='color:#111;'> 19.15KB </span>","children":null,"spread":false},{"title":"stats.min.js <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"three.js <span style='color:#111;'> 1.16MB </span>","children":null,"spread":false},{"title":"BloomPass.js <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"tween.min.js <span style='color:#111;'> 5.85KB </span>","children":null,"spread":false},{"title":"CopyShader.js <span style='color:#111;'> 668B </span>","children":null,"spread":false},{"title":"UnrealBloomPass.js <span style='color:#111;'> 12.39KB </span>","children":null,"spread":false},{"title":"ShaderPass.js <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"EffectComposer.js <span style='color:#111;'> 6.17KB </span>","children":null,"spread":false},{"title":"three98.js <span style='color:#111;'> 1.12MB </span>","children":null,"spread":false},{"title":"OrbitControls.js <span style='color:#111;'> 23.15KB </span>","children":null,"spread":false},{"title":"LuminosityHighPassShader.js <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"dat.gui.min.js <span style='color:#111;'> 56.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"libs","children":[{"title":"index.js <span style='color:#111;'> 8.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明