Change Filament background color to black.
PiperOrigin-RevId: 843152096 Change-Id: I2ef87ffffb9cc8662fa6353c6d38f1046f21b34b
This commit is contained in:
committed by
Copybara-Service
parent
caec236b2f
commit
fe0a11d58d
@@ -89,7 +89,7 @@ FilamentContext::FilamentContext(const mjrFilamentConfig* config,
|
|||||||
filament::Renderer::ClearOptions opts;
|
filament::Renderer::ClearOptions opts;
|
||||||
opts.clear = true;
|
opts.clear = true;
|
||||||
opts.discard = true;
|
opts.discard = true;
|
||||||
opts.clearColor = {0.1, 0.1, 0.1, 1};
|
opts.clearColor = {0, 0, 0, 1};
|
||||||
renderer_->setClearOptions(opts);
|
renderer_->setClearOptions(opts);
|
||||||
|
|
||||||
// Copy parameters from model to context.
|
// Copy parameters from model to context.
|
||||||
|
|||||||
Reference in New Issue
Block a user