Coder Social home page Coder Social logo

pedroplopes1 / ssrt Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 1.0 20.28 MB

The SSRT (Screen Space Ray Tracing) shader is a custom shader for the EEVEE render engine in Blender. It simulates light bouncing using screen space data, allowing for more realistic reflections and lighting in real-time.

License: Creative Commons Zero v1.0 Universal

Python 100.00%
blender real real-time realtime ray ray-tracing raytracing time tracing cg cgi lighting rendering shader 3d global global-illumination illumination light pbr

ssrt's Introduction

Screen Space Ray Tracing

The SSRT (Screen Space Ray Tracing) shader is a custom shader for the Eevee render engine in Blender. It simulates light bouncing using screen space data, allowing for more realistic reflections and lighting in real-time.

Installation

To use the SSRT shader and addon in Blender, follow these steps:

  1. Launch Blender:

    • Open Blender on your system.
  2. Download SSRT:

  3. Append Shader in Blender:

    • Navigate to the File menu.
    • Choose the Append option.
    • Choose one of the BLEND files provided in the demos from the Shader folder.
    • Access the NodeTree folder.
    • Locate and select the Principled BSDF SSRT node group.
    • Complete the process by clicking the Append button.
  4. Install Addon:

    • Navigate to the File menu.
    • Choose the Preferences option.
    • Navigate to the Add-ons section.
    • Click on the Install... button and select the Principled_BSDF_Replacer.py file from the Addon folder.
    • After selecting the Principled_BSDF_Replacer.py file, click on the Install Add-on button.
  5. Enable Addon:

    • Once installed, find and enable the Principled BSDF SSRT Replacer addon.

Usage

The SSRT shader can be used to create more realistic reflections and lighting in real-time in Blender Eevee. It works by simulating light bouncing using screen space data, which allows for more accurate reflections and lighting than traditional methods.

To use the SSRT shader effectively, consider the following tips:

  • Apply the SSRT shader to the desired objects in your scene by selecting them and assigning the Principled BSDF SSRT node group.
  • Adjust the shader settings, such as roughness and metallic values, to achieve the desired appearance of your materials.
  • Experiment with different lighting setups and environment maps to enhance the realism of your scene.
  • Keep in mind that the SSRT shader relies on screen space data, so objects that are not visible on the screen might not contribute to the lighting and reflections accurately.

Addon

The SSRT addon provides operators to automatically replace Principled BSDF shader nodes with the Principled BSDF SSRT node group in Blender materials.

To use the addon, first install it and append the Principled BSDF SSRT node group following the installation steps. Once completed, you can access it from the 3D Viewport Sidebar > Principled BSDF SSRT Replacer panel.

The addon contains two replacement operators:

Operator Description
Replace Nodes in Selected Objects Replaces Principled BSDF nodes with the SSRT shader in materials of selected objects.
Replace Nodes in Entire Scene Replaces Principled BSDF nodes with the SSRT shader in all materials in the scene.

This allows existing scenes to be easily converted to use the SSRT shader. The node connections and values are preserved during replacement.

Contributing

Contributions to the SSRT shader and addon are welcome! If you have ideas for improvements, bug fixes, or new features, feel free to submit a pull request.

License

This project is licensed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.

Credits

The addon script were developed by the talented 3D artist Gabriel Saretti. Check out his work on Instagram and Patreon.

Acknowledgments

Special thanks to the developers and contributors of Blender and the Eevee render engine for providing a powerful and flexible platform for real-time rendering.

Additional Resources

For more information on using the SSRT shader and advanced rendering techniques in Blender, you may find the following resources helpful:

ssrt's People

Contributors

pedroplopes1 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

Watchers

 avatar  avatar  avatar  avatar

Forkers

hoanhtuan-dev

ssrt's Issues

Ambient Occlusion node not working

Hi, I installed your SSRT version of Blender a while ago, and I recently encountered a problem, or a bug. the Ambient Occlusion node in the Shader Editor does not work, it makes the object, to which the node was set, completely purple. is there any solution?

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.