Giter Site home page Giter Site logo

Comments (3)

Calinou avatar Calinou commented on July 22, 2024 2

This is likely because imported materials use the Disabled cull mode by default, due to it being the glTF specification's default. If you enable Backface Culling on the material in Blender and export the scene again, the issue should go away assuming the glTF exporter takes this property into account.

This is also bad for performance, so we should really do something about it: godotengine/godot-proposals#7360

Either way, there's an issue with how reflection probes render materials that use cull modes other than Back.

from godot.

Calinou avatar Calinou commented on July 22, 2024 1

I also just noticed that the probe doesn't take its own ambient light into account when rendering the reflection

This is being tracked in #56635.

This might be nontrivial to fix when using the Environment ambient mode, as the reflection probe doesn't "know" what the ambient color should be until it's already done rendering all its faces. (When using Environment, the ambient color is calculated based on the average color of each face – more or less.)

This is not an issue with Custom Color where the color is known in advance, but we should still make sure the ambient color is only applied within the reflection probe's bounds in the reflection, as opposed to the entire scene (when Max Distance exceeds the bounds' size).

from godot.

passivestar avatar passivestar commented on July 22, 2024

This is likely because imported materials use the Disabled cull mode by default, due to it being the glTF specification's default. If you enable Backface Culling on the material in Blender and export the scene again, the issue should go away assuming the glTF exporter takes this property into account.

Yeah that's what it was

I also just noticed that the probe doesn't take its own ambient light into account when rendering the reflection

Untitled.mp4

from godot.

Related Issues (20)

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.