A simple gi--re?ective Shadow Maps

Source: Internet
Author: User

re?ective Shadow Maps is a simple GI, although the name has Shadow maps, but it has nothing to do with Shadow maps,
is a method in screen space, unlike ray tracing and radiometric methods like the consumption, and time-consuming, suitable for dynamic scenes, we mainly need the variables basically come from g-buffer, such as

From left to right, depth, world space coordinates, normal, UX.
Because this algorithm is simple, the effect is good, one-bounce indirect illumination is enough.
The algorithm is simple:

Φp for the needs of reflection? UX

X is the current pixel, XP is the normal vector of the current point, and NP is the normal vector of the sampling point.


the maximum amount of light that is reflected when the sample point is exactly at the current point in the discovery direction.
And then add each sample point to the

Finally the blogger in unity in the implementation of the result is this, 30 sampling points, do not know why the light reflected like the noise of the point, but also please the expert pointing ...

Unity5




unity4.6

The real implementation results


-------by wolf96 http://blog.csdn.net/wolf96

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

A simple gi--re?ective Shadow Maps

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.