本项目主要工作是把ShaderToy上TMD大佬编写的Seascape[https://www.shadertoy.com/view/Ms2SD1] Shader改写成了纹理材料,并把它加载进了ThreeJS场景中.
Shader改写教程地址[https://blog.csdn.net/hao5119266/article/details/104012158] 但要注意的是,正确的方式是在服务器上运行该网站。关于服务搭建,请参考apache或者nginx官方文档。
This project is based on the Seascape Shader[https://www.shadertoy.com/view/Ms2SD1] in ShaderToy by TMD.My main job is to rewrite it as texture material and load it in my ThreeJs screen .
Tutorial address:[https://blog.csdn.net/hao5119266/article/details/104012158] It's important that the correct way is to set up a small web server to run the html file.For more service build information, please refer to the official documentation of apache or nginx.