Skip to content

Commit

Permalink
Restored deprecated tone mapping (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
grassydragon authored Feb 10, 2022
1 parent 03409ab commit 445d78e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/com/google/ar/sceneform/SceneView.java
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ protected void initialize() {
renderer.getFilamentView().setColorGrading(
new ColorGrading
.Builder()
.toneMapper(new ToneMapper.Filmic())
.toneMapping(ColorGrading.ToneMapping.FILMIC)
.build(EngineInstance.getEngine().getFilamentEngine())
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#E61976d2"/>
<solid android:color="#FF0000"/>
<corners android:radius="5dp"/>
</shape>

0 comments on commit 445d78e

Please sign in to comment.