Comments (12)
Try turning gamma correction off.
from n8ao.
Unfortunately it does not help. Also tried creating my own beauty render target but without success
from n8ao.
Try on the pass itself - configuration.gammaCorrection
from n8ao.
That's the property I set, but does not help
from n8ao.
Very strange. What is the color space of your render target - could you perhaps share your code?
from n8ao.
this.effectComposer = new THREEX.EffectComposer(this.renderer);
this.effectComposerSSAOPass = new N8AOPass(this.scene, this.perspectiveCamera, width, height);
this.effectComposerSSAOPass.configuration.gammaCorrection = false;
this.effectComposerOutputPass = new THREEX.OutputPass();
this.effectComposer.addPass(this.effectComposerSSAOPass);
this.effectComposer.addPass(this.effectComposerOutputPass);
from n8ao.
Is the threeX output pass doing gamma correction where it shouldn't? Which version of n8ao does ThreeX use?
from n8ao.
Hello,
THREEX
is an alias to import three/examples/jsm
, using three r156 and n8ao 1.6.8
OutputPass
is doing tone mapping and colorspace conversion
from n8ao.
Strange. I am geniunely not sure what could be causing this. Try it without OutputPass maybe?
from n8ao.
This is likely from r155 where in mrdoob/three.js#26371, when rendering to a render target, tone-mapping is internally disabled. You're expected to now include a tonemapping or output pass when using post-processing.
from n8ao.
N8AO automatically gamma corrects (this can be disabled)... so it shouldn't be an issue with the library.
from n8ao.
Closing due to inactivity. Reopen if the issue is still relevant!
from n8ao.
Related Issues (20)
- Dramatically boost performance by lowering AO resolution HOT 8
- .setDisplayMode Overlay HOT 3
- Turning on HalfRes on a Samsung A32 turns a part of the scene black/dark HOT 15
- Is there any way to integrate with fog? HOT 9
- Issues w/ AO at large distances from the origin HOT 6
- excluding objects HOT 4
- when camera far number too big have some problem... HOT 3
- hi, I'm here again... I found that an object that is very far away from the camera turns black.... HOT 19
- N8AO + Bloom doesn't work when multisampling enabled HOT 7
- Hi, I just found out when open halfRes with true, the ao in map also have some same problem.... HOT 5
- AO from single side materials HOT 1
- Shader errors? HOT 7
- Option to accumulate over multiple frames HOT 10
- AO Visible in Direct Light HOT 2
- Incompatible with ThreeJS Helpers HOT 3
- Debug Mode Question / Issue HOT 2
- Fragment shader error resulting in black objects HOT 3
- THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the "count" parameter to enable MRT. HOT 2
- My buffer is not being cleared HOT 1
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 n8ao.