three.js创建光线_使用Three.js在图像上创建波动效果

three.js创建光线

three.js创建光线

WaveMotion_featured

Waves! Because who does not enjoy the visual comfort an oscillating motion has on the human eye? Well, I do and for this tutorial, I would like to explain how to make waves on a 3D plane with Three.js using simplex noise.

波浪! 因为谁不喜欢视觉上的舒适感,人眼却会产生摆动? 好吧,我确实如此,对于本教程,我想解释一下如何使用Simplex噪声在Three.js的3D平面上产生波。

To keep things short, we’ll just focus on the plane effect and not on the smooth scrolling or setup required to synchronize the DOM with WebGL. For these, check out Jesper Landberg’s codepen on smooth scrolling, and Luigi De Rosa’s article on how EPIC mixed WebGL and the DOM for WeCargo.

为了简短起见,我们仅关注平面效果,而不关注将DOM与WebGL同步所需的平滑滚动或设置。 对于这些,请查看Jesper Landberg的有关平滑滚动codepen ,以及Luigi De Rosa的有关EPIC如何将WebGL和DOM用于WeCargo混合文章

We’ll asume you have some basic understanding of Three.js, vertex and fragment shaders, so we?l

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值