Coder Social home page Coder Social logo

totoroengine's Introduction

TotoroEngine

TotoroEngine is a toy 3D game engine using DirectX 12.

Prerequisites

  1. Only support Windows(Only test on Windows 10).
  2. If you have not install "Graphics Tools", please install it to enable DirectX debug layers, see https://stackoverflow.com/questions/60157794/dx12-d3d12getdebuginterface-app-requested-interface-depends-on-sdk-component Or you can set the "InstalledDebugLayers" macro in D3D12RHI.cpp to false.

Build and Run

  1. Download FBX SDK VS2019: https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-2
  2. Install FBX SDK, then copy "include" and "lib" folders to TotoroEngine\Engine\ThirdParty\FBX_SDK\
  3. Open TotoroEngine.sln with Visual Studio 2019.
  4. Choose a sample project (such as "Sample-PBR"), set it as startup project, build project.
  5. Copy the libfbxsdk.dll (from TotoroEngine\Engine\ThirdParty\FBX_SDK\lib\vs2019\x64\debug) to the debug folder of sample project (such as TotoroEngine\Samples\Sample-PBR\Binaries\x64\Debug).
  6. Run.

Features

Basis

  • D3D12 Memory Allocation
  • D3D12 Descriptor Management
  • D3D12 Resource Binding

Rendering

  • PBR (Physically Based Rendering)

  • TBDR (Tile-Based Deferred Rendering)

  • Light

    • DirectionalLight

    • PointLight

    • SpotLight

    • AreaLight(LTC)

  • PCSS (Percentage-Closer Soft Shadows)

  • VSM (Variance Shadow Mapping)

  • SDF

  • SDF soft shadow

  • SSAO (Screen Space Ambient Occlusion)

  • SSR (Screen Space Reflection)

  • TAA (Temporal Anti-Aliasing)

  • PostProcess

    • ToneMapping

Document

https://www.zhihu.com/column/c_1434895110592552960 (Chinese)

totoroengine's People

Contributors

zhanjinzhao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.