arXiv:2609.05738cs.CVSep 2026

Manuscript Offprint

arXiv:2609.05738

RenderFormer-V2: Neural Rendering with Heterogeneous Scene Primitives

Chong Zeng, Yue Dong, Pieter Peers, Lvmin Zhang, Maneesh Agrawala

Chong Zeng¹✉, Yue Dong²✉, Pieter Peers³✉, Lvmin Zhang¹✉, and Maneesh Agrawala¹✉

¹ Stanford University, USA

² Microsoft Research, China

³ College of William & Mary, USA

Abstract. We present 'RenderFormer-V2', a unified learned transformer-based neural rendering model, complementary to modern physics-based rendering systems, that can handle diverse light-transport effects such as caustics, volumetric scattering, environment lighting, textured and displaced surfaces and out-of-distribution materials without per-scene training or specialized code. RenderFormer-V2 models global light transport as a sequence-to-sequence transformation. Following its predecessor, RenderFormer-V2 also employs a two stage process: a view-independent stage that resolves intra-scene primitive to primitive transport, and a view-dependent stage that transforms the internal neural scene representation into image pixels. Different from RenderFormer, our model employs a novel combined windowed-attention and rendering-informed attention sink in the view-independent stage to improve scalability while maintaining render accuracy. To further improve versatility, RenderFormer-V2 supports heterogeneous scene primitives, including environment maps and participating media, and it employs a material encoding independent of the underlying surface reflectance model that encodes material appearance via a novel neural embedding. We demonstrate the versatility of RenderFormer-V2 on a variety of scenes and perform an extensive ablation of the improved attention mechanism.

Keywords: Neural Rendering, Transformer, Neural Material Embedding, Windowed Attention, Attention Sink

1 Introduction

Neural rendering aims to visualize virtual scenes without relying on manually encoded rules of light transport, but instead based on relations between geometry, materials, and light learned from data. Many neural rendering solutions offer limited generalizability beyond the training data [10, 11] or rely on per-scene training strategies [28]. Recently, RenderFormer [41] formulated light transport simulation as a regressive sequence-to-sequence translation problem, where an input sequence of triangle tokens is transformed into pixel-patch tokens through a transformer-based two stage pipeline: a view-independent stage that resolves

C. Zeng et al.

Figure

Fig. 1: RenderFormer-V2 can simulate global light transport in scenes that include transparent materials with caustics, environment lighting, volumetric scattering, textures, and scenes with over 100k primitives, without the need for per-scene training.

light transport between triangles, and a view-dependent stage that resolves transport from triangles to the camera. Once trained, RenderFormer can render a wide variety of virtual scenes without fine-tuning or further training. Although RenderFormer is more general than prior solutions, it is still far from practical: it is limited to scenes of less than 4k triangles, it only supports a hard-coded GGX BRDF model [31], and it is limited to scenes with (max. 8) triangular diffuse light sources.

In this paper we introduce 'RenderFormer-V2', a versatile transformer-based neural rendering system that addresses RenderFormer's limitations via a number of carefully designed architectural innovations (Figure 1). Similar to RenderFormer, RenderFormer-V2 formulates light transport simulation as a regressive sequence-to-sequence translation. RenderFormer's main bottleneck in supporting larger triangle meshes is the brute-force self-attention between triangle tokens in the view-independent stage. Not only does this have a quadratic complexity with respect to the number of triangles, it also leads RenderFormer to loose focus for very large triangle meshes. Inspired by recent advances in supporting larger context windows for large-language models, RenderFormer-V2 employs a novel sparse-attention variant, consisting of a combination of windowed attention [19] and render-aware attention-sinks [35], tuned for resolving view-independent light transport. Furthermore, to improve generalizability, we allow for other primitives than triangles (e.g., voxels) and employ a simpler positional encoding based on the centroid of the primitive.

RenderFormer-V2 further decouples the material specification from a hard-coded BRDF model, and instead employs a latent material embedding for encoding different BRDF models including transparent and measured materials. A key observation is that the latent material encoding does not need to be invertible to the input (BRDF) parameters, but it only needs to encode the appearance of the material; we rely on RenderFormer-V2 to learn how to map the material appearance into pixel values. Moreover, to model spatially varying materials, we reuse a pretrained VAE encoder [33] to encode 32×3232 \times 32 texture patches (of latent material properties) per primitive. Similar to the latent material appearance space, we only require the VAE encoder, and let RenderFormer-V2 learn how to interpret the encoded textures during rendering.

Whereas RenderFormer has a dedicated emittance parameter associated with each triangle to model light sources, we leverage RenderFormer-V2's ability to mix different primitives to embed different lighting types, ranging from triangular light sources to environment maps, into specialized tokens.

We demonstrate the versatility of RenderFormer-V2 by rendering more complex and larger scenes than RenderFormer with a greater variety in lighting and materials. We perform an in-depth ablation study to validate our design decisions. The trained RenderFormer-V2 model and code can be found at: https://renderformer.github.io/v2.