Comments (9)
Okay thanks for the explanation! As for the project, this one is really big and you don't really need this specific project. Just create a plane with a transparent material and put the default cube mesh above it and enable software tracing in post fx volume.
from flaxengine.
Okay I see thanks for explaining!
from flaxengine.
@HydrogenC Oh damn, thanks for trying! This is one of the things that bothered me a lot in my poolrooms demo because the reflections didn't look right with only SSR but if you can pull it off this would be a great addition! I wish I could help you but I think it is obvious from my questions that I am a total noob :D
from flaxengine.
So if this is simply an error in render execution order, solving it shouldn't be too hard?
from flaxengine.
So if this is simply an error in render execution order, solving it shouldn't be too hard?
I suppose it's not that easy. Since effects like reflections and SSR shaders relies on GBuffer to acquire information, and that forward pass doesn't write to the GBuffer, a separate implementation has to be created.
Could you provide me with the flax project so that I can experiment with it?
from flaxengine.
@HydrogenC How about using the information from the last frame to add the reflections? That would be easier to implement I think.
from flaxengine.
@HydrogenC How about using the information from the last frame to add the reflections? That would be easier to implement I think.
That's unneccessary though. What is needed to do reclections is just normal and world position, and they can be calculated and passed through the vertex shader. With these information we can handle reflections in the same way as opaque materials.
Though, I am still diving into the code now, so I may not be that sure about how to tackle this on a code engineering aspect.
from flaxengine.
@abrasivetroop Well, I read all of the code involved and I have to correct what I've said before.
The reflection feature itself has already be integrated into the forward pass in the current version, but the true problem is that SDF tracing isn't implemented for forward materials. It would take another 2 constants and 7 additional texture slots to implement SDF reflection tracing and I'm trying to implement that :(
The work is being done here: https://github.com/HydrogenC/FlaxEngine/tree/forward-software-refl
from flaxengine.
I opened a pull request for this.
from flaxengine.
Related Issues (20)
- [CRASH][SCRIPT] Crash when writing serializers for nested structures HOT 1
- Infinity grid does not works with Large Worlds enabled HOT 1
- [ BUG ] Low precision with infinity grid at far distances if largeWorlds is enabled HOT 1
- [Suggestion] Make inter-scene references more explicit HOT 1
- Assertion error on startup HOT 2
- Ui elements taborder
- Spline options error if Large Worlds is enabled
- [BUG] AssetReference serialization is incompatible between C# and C++ HOT 1
- Scene Animation Rendering Utility - Play VS Edit Mode HOT 2
- Animate material parameter with scene animation HOT 1
- Cannot animate spline actor with scene animation
- [Feature Request] Custom depth stencil operations for materials
- CharacterController.SimpleMove is not usable in its current state
- Scripting references are lost on save after changing script HOT 1
- Improve `Nullable<T>`
- Add option to sync network variables only when they change HOT 2
- [Feature Request] Compute shader skinning and morph target compution HOT 1
- There's no such thing as a Launcher HOT 4
- [Feature Request] Pressed, Pressing and Released - Like Events for Input Axis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flaxengine.