GithubHelp home page GithubHelp logo

nadiaazri / cascaded_soft_shadow_maps Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8.04 MB

Physically accurate soft shadows using area light source and Shadow maps

C++ 72.81% C 9.03% GLSL 6.02% CSS 2.55% XSLT 9.58%
computer-graphics shadowmapping pcf glsl-shaders opengl cascaded-shadow-mapping

cascaded_soft_shadow_maps's Introduction

Computer Graphics

Cascaded Soft Shadow Maps Based on PCF Filtering

Language used is C++, Opengl Version 2.02, GLSL Version 120. / Visual Studio 2010.

Cascaded_Soft_Shadow_Maps file for our technique.

Soft_Shadow_Maps file for Schwärzler’s method.

The technique.

Physically accurate soft shadows in real-time applications can be imitated by subdividing the area light source into multiple samples and creating a shadow map for each sample and then accumulating them.

In this work, we fitted in this context, and we proposed a new technique to reduce the rendering time required to achieve a high quality of soft shadows in real-time rendering. We generated physically accurate soft shadows using the Cascaded Shadow Maps technique (CSMs) to reduce further the samples of the area light source on far cascades, and use multiple implemented PCF filters on the GPU which allowed us reducing the samples by removing the artifacts and soften the resulting soft shadows.

Results & Comparative study.

The proposed technique is inspired by the work carried out by Schwärzler et al. and consists in reducing the number of area light source samples to the maximum for soft shadows that are physically accurate in real-time.

Both the CSMs technique and the PCF filtering freed-up significant computing time.

We compared the results of our cascaded soft shadow maps technique and Schwärzler’s method using different models with different sizes..We presented the results of the implementation where different measurements of performance and visual quality will be compared and reviewed. To compare our results, we chose the standard criterion of FPS (Frame Per Second) and the time required to generate an image. We evaluated the proposed technique using the RMSE (Root Mean Square Error) metric.

The results show that our technique improves efficiency by creating high-quality soft shadows in real-time, and is undoubtedly faster than traditional techniques.

-- Basic code from 3dcpptutorials

cascaded_soft_shadow_maps's People

Contributors

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