Code Monkey home page Code Monkey logo

warfog's Introduction

FogOfWar

Unity下实现的渲染可见区域的战争迷雾

1

2

一、支持:

1、基于视野(FOV)的战争迷雾

2、简单圆形区域的战争迷雾

3、可以预计算场景障碍物信息

4、提供接口访问战争迷雾纹理,理论上可以方便的制作具备战争迷雾效果的小地图功能。

5、编辑器下预览战争迷雾纹理信息:

3

二、使用说明:

1.FogOfWarEffect为战争迷雾渲染组件,需要添加到主摄像机

2.FogOfWarExplorer为探索者,添加该组件的物体将渲染可见区域(己方)

3.FogOfWarStalker为潜行者,添加该组件的物体在迷雾区域将不可见(敌方)

warfog's People

Contributors

dingxiaowei 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.