Papers › A Shading-Guided Generative Implicit Model for Shape-Accurate 3D-Aware Image Synthesis

A Shading-Guided Generative Implicit Model for Shape-Accurate 3D-Aware Image Synthesis

29 Oct 2021NeurIPS 2021 12arXiv:2110.15678archive 2025-07-28

Xingang Pan, Xudong Xu, Chen Change Loy, Christian Theobalt, Bo Dai

The advancement of generative radiance fields has pushed the boundary of 3D-aware image synthesis. Motivated by the observation that a 3D object should look realistic from multiple viewpoints, these methods introduce a multi-view constraint as regularization to learn valid 3D radiance fields from 2D images. Despite the progress, they often fall short of capturing accurate 3D shapes due to the shape-color ambiguity, limiting their applicability in downstream tasks. In this work, we address this ambiguity by proposing a novel shading-guided generative implicit model that is able to learn a starkly improved shape representation. Our key insight is that an accurate 3D shape should also yield a realistic rendering under different lighting conditions. This multi-lighting constraint is realized by modeling illumination explicitly and performing shading with various lighting conditions. Gradients are derived by feeding the synthesized images to a discriminator. To compensate for the additional computational burden of calculating surface normals, we further devise an efficient volume rendering strategy via surface tracking, reducing the training and inference time by 24% and 48%, respectively. Our experiments on multiple datasets show that the proposed approach achieves photorealistic 3D-aware image synthesis while capturing accurate underlying 3D shapes. We demonstrate improved performance of our approach on 3D shape reconstruction against existing methods, and show its applicability on image relighting. Our code will be released at https://github.com/XingangPan/ShadeGAN.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2110.15678")

Code

Syntology Ran 2 of 15 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xingangpan/shadegan officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 2 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran
13unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from xingangpan/shadegan. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

spatial_average xingangpan/shadegan/lpips/networks_basic.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 29e5e72bcd006dcd · report
upsample xingangpan/shadegan/lpips/networks_basic.py official repository ran fingerprinted MIT (permissive) · 351677a36e1961df · report
create_samples xingangpan/shadegan/extract_shapes.py official repository unverified MIT (permissive) · 306b4b17e95e50e5 · report
get_current_step xingangpan/shadegan/curriculums.py official repository unverified MIT (permissive) · a551faf28fc86a9f · report
get_dataset xingangpan/shadegan/datasets.py official repository unverified MIT (permissive) · df709247c665b337 · report
get_dataset_distributed xingangpan/shadegan/datasets.py official repository unverified MIT (permissive) · 99cf38950bfe4017 · report
get_grid xingangpan/shadegan/inversion.py official repository unverified MIT (permissive) · 9a90a24d56749586 · report
last_upsample_step xingangpan/shadegan/curriculums.py official repository unverified MIT (permissive) · 31312e8e88c4d95c · report
load_image xingangpan/shadegan/inversion.py official repository unverified MIT (permissive) · b3cb093d06a4dbf6 · report
next_upsample_step xingangpan/shadegan/curriculums.py official repository unverified MIT (permissive) · 738ade559b76771c · report
rotate_normal xingangpan/shadegan/inversion.py official repository unverified MIT (permissive) · 11342c357ef0da98 · report
sample_generator xingangpan/shadegan/extract_shapes.py official repository unverified MIT (permissive) · eeb9c75831e39214 · report
score_2afc_dataset xingangpan/shadegan/lpips/dist_model.py official repository unverified MIT (permissive) · 514dd3c0eee3691c · report
score_jnd_dataset xingangpan/shadegan/lpips/dist_model.py official repository unverified MIT (permissive) · 581c80d602289d6d · report
setup_evaluation xingangpan/shadegan/fid_evaluation.py official repository unverified MIT (permissive) · 887298f852639adb · report

Tasks

3D Shape Reconstruction3D-Aware Image SynthesisImage GenerationImage Relighting

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections