Git Product home page Git Product logo

godofwarwindsimulation's Introduction

GodOfWarWindSimulation

战神4的风场系统,使用Unity Compute Shader和ECS两种系统复刻实现
原知乎:https://zhuanlan.zhihu.com/p/524594823
发完文章之后想起可以用ECS来代替Compute Shader中复杂的计算,虽然效率差了点但是就可以绕开Compute Shader从而能在移动端快乐玩耍了
其实这个东西很早就做完了,但是因为工作(拧螺丝)太忙,加上有别的个人私事所以这个东西就被我忘记了(理直气壮
现在整理了一些注释发出来,这只是我当初用来学Compute Shader和ECS写的一个demo,如果有一些写得很丑陋的地方还希望理解
环境:Unity 2021.3.7f1
必须得有:
image

可能不打算在新的ECS系统下重写ECS的部分,如果重写了我可能会发出来,但请不要抱太大的期待(x
image
(当初写的有点赶,在不同的实现方式下,需要修改这部分的代码)

godofwarwindsimulation's People

Contributors

saberzg avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.