Check out our latest project ✨ OpenChapter.io: free ebooks the way it was meant to be 📖

gd_planar_reflections

An asset by RisingThumb
The page banner background of a mountain and forest
gd_planar_reflections thumbnail image
gd_planar_reflections thumbnail image
gd_planar_reflections thumbnail image
gd_planar_reflections hero image

Quick Information

0 ratings
gd_planar_reflections icon image
RisingThumb
gd_planar_reflections

This provides a planar reflection shader and the related camera logic for doing planar reflecitons.

Supported Engine Version
4.3
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
6 months ago
Git URL
Issue URL

gd_planar_reflections

Motive

Godot has screenspace reflections and similar solutions but no planar reflections. This exists to fix that.

Eye candy

README Reflections 1 README Reflections 2 README Reflections 3 README Reflections 4

Use

Your planar reflections node will have 2 parameters. One for the camera and one for the resolution of the reflected view.

Please see the example scene as an example of this.

Additionally this is set up to be like water currently. As a result the shader has a lot of settings to distort it like water. Feel free to turn these down if you want a pure mirror, or turn them up if you want rippling water.

FAQ

  • Why is it pink in the editor?
    • So you know what is being reflected. Also because planar reflections involves rendering the scene twice, I didn't want to do that for the editor.
  • How can I change how it looks?
    • Look at the shader script.
  • Can I...?
    • Probably.

Contributing/bugs

Feel free to raise issues or bugs as needed.

This provides a planar reflection shader and the related camera logic for doing planar reflecitons.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
gd_planar_reflections icon image
RisingThumb
gd_planar_reflections

This provides a planar reflection shader and the related camera logic for doing planar reflecitons.

Supported Engine Version
4.3
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
6 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers