CesiumGS / CesiumGS/cesium

ambient occlusion can not work when i set 3dtiles model transparent

Open
#9,036 3 comments 0 reactions 0 assignees View on GitHub
category - 3d tiles category - graphics type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

I used ambient occlusion to render 3dtiles model,by default, my 3dtiles model has transparent style,like this:
![image](https://user-images.githubusercontent.com/40989006/87872060-3068ed80-c9e8-11ea-8b47-e96d476562ef.png)
but when i used style to set all model transparent ,ambient occlusion can not work,like this:
![image](https://user-images.githubusercontent.com/40989006/87872044-1202f200-c9e8-11ea-89f9-240c8632b1d1.png)
here is my code to set style:
![image](https://user-images.githubusercontent.com/40989006/87872192-1380ea00-c9e9-11ea-96ce-d85d3896ea4d.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue using the transparent 3D Tiles styling example and compare ambient occlusion with the default transparent model shown in the screenshots. Trace the 3D Tiles rendering and ambient-occlusion paths to identify why the styled model loses the effect. Done means ambient occlusion works when the model is made transparent through its style.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.