qinzhuo / fogofwar_forunity Goto Github PK
View Code? Open in Web Editor NEWunity实现的基于视野的战争迷雾
unity实现的基于视野的战争迷雾
QinZhuo你好,我是在bilibili看到你的战争迷雾教学来这里学习的~感谢你的教程,非常受用!
我有个疑问研究了好久没搞明白,所以只能在这里向你提问。
FowFogRenderer prefab里面,你把plane的scale设置为(-0.2, 0.2, -0.2),请问这是为什么?为何x和z需要设为负数?
我自己在尝试按照你的思路实现战争迷雾的时候,发现如果把scale都保持为整数,unity的Texture2D.SetPixels32的Array映射到平面上就变成了从右上角开始,一行一行的从右往左展开。而不是unity自己官方文档说的从左下角一行行从左向右展开。
我接触shader和图形学很浅,所以可能有些常识性问题并没有意识到,感谢你耐心解答
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.