ENGINE · in-house, undocumentedSILNIK · autorski, bez dokumentacjiMATERIAL · layers over a base, mask-drivenMATERIAŁ · warstwy na bazie, sterowane maskamiMODES · raster · hybrid RT · path tracedTRYBY · raster · hybryda RT · path tracing
Chapter 28 / Realtime lookdevRozdział 28 / Lookdev realtime

REDengine and in-house enginesRED Engine i silniki autorskie

Most AAA studios ship on an engine nobody outside them has documentation for. What a lookdev artist actually needs there isn't the manual — it's the ability to work out, from the engine's behaviour, which of this book's rules still hold. Większość studiów AAA wydaje gry na silniku, do którego nikt z zewnątrz nie ma dokumentacji. Lookdev artysta potrzebuje tam nie instrukcji obsługi, tylko umiejętności wywnioskowania z zachowania silnika, które zasady z tej książki wciąż obowiązują.

TL;DR
On sourcesO źródłach

REDengine has no public documentation. What follows is drawn from CD Projekt RED's own conference talks and technical presentations, from the studio's public statements about its engine plans, and from the file formats the modding community has documented from shipped game data. Treat the concepts as reliable and the exact internal names, tool layouts and parameter ranges as approximate — they are not vendor-published, and they changed between titles. REDengine nie ma publicznej dokumentacji. To, co poniżej, pochodzi z konferencyjnych prelekcji i prezentacji technicznych CD Projekt RED, z publicznych wypowiedzi studia o planach wobec silnika oraz z formatów plików udokumentowanych przez społeczność moderską na podstawie danych wydanej gry. Traktuj koncepcje jako wiarygodne, a dokładne nazwy wewnętrzne, układ narzędzi i zakresy parametrów jako przybliżone — nie są publikowane przez producenta i zmieniały się między tytułami.

Stage: Why in-houseEtap: Dlaczego autorski

An engine shaped by one gameSilnik ukształtowany przez jedną grę

A licensed engine has to be good at everything; an in-house engine only has to be good at the studio's game, and it is built by people sitting in the same building as the artists using it. REDengine 4 was shaped by a dense, vertical, night-time city with heavy volumetrics, a day-night cycle, a huge amount of screen-facing emissive signage and crowds — and the technology reflects those priorities everywhere, including in its material system. Silnik licencjonowany musi być dobry we wszystkim; silnik autorski musi być dobry tylko w grze swojego studia i budują go ludzie siedzący w tym samym budynku co artyści, którzy go używają. REDengine 4 został ukształtowany przez gęste, pionowe, nocne miasto z ciężką wolumetryką, cyklem dobowym, ogromną ilością emisyjnych szyldów zwróconych do kamery i tłumami — a technologia odbija te priorytety wszędzie, również w systemie materiałów.

The trade for an artist is direct. In exchange for tooling that fits the game unusually well, you lose the documentation, the community answers, the transferable skill and — the part that surprises people from VFX most — the ability to look up what an approximation actually does. When the engine is Arnold you can read the reference; when the engine is in-house, the reference is a colleague and a test scene. Wymiana dla artysty jest bezpośrednia. W zamian za oprzyrządowanie pasujące do gry wyjątkowo dobrze tracisz dokumentację, odpowiedzi społeczności, przenośność umiejętności i — to zaskakuje ludzi z VFX najbardziej — możliwość sprawdzenia, co naprawdę robi dane przybliżenie. Kiedy silnikiem jest Arnold, możesz przeczytać dokumentację; kiedy silnik jest autorski, dokumentacją jest kolega i scena testowa.

Stage: The material systemEtap: System materiałów

Layers from a library, not a graph per assetWarstwy z biblioteki, nie graf na asset

Cyberpunk's surfacing is built on a multilayer setup: a base material template defines the shading, and on top of it sits an ordered stack of layers. Each layer references a shared layer template from a studio-wide library — worn paint, brushed steel, dirt, rust, fabric weave — and carries its own mask, colour tint, and overrides for roughness, metalness, normal strength and tiling. A separate fine "microblend" normal adds close-up detail that the mask resolution can't carry. Powierzchnie w Cyberpunku zbudowane są na wielowarstwowym setupie: bazowy szablon materiału definiuje cieniowanie, a na nim siedzi uporządkowany stos warstw. Każda warstwa odwołuje się do współdzielonego szablonu warstwy z ogólnostudyjnej biblioteki — zdarta farba, szczotkowana stal, brud, rdza, splot tkaniny — i niesie własną maskę, tint koloru oraz nadpisania roughness, metalness, siły normalnej i tilingu. Osobna drobna normalna „microblend” dokłada detal ze zbliżenia, którego rozdzielczość maski nie udźwignie.

Read against Chapter 15, this is a layered material with the blending done at authoring time over the surface, rather than at shading time between BSDF lobes: the layers resolve into one set of surface parameters before lighting, which is what makes it affordable inside the G-Buffer budget of Chapter 24. Read against Chapter 25, it is the opposite end of the same spectrum from a node graph — less expressive per asset, dramatically more consistent across thousands of them, and far easier to re-tune globally when the art direction of "how worn is this world" changes in month eighteen. Czytany przez Rozdział 15, jest to materiał warstwowy, w którym miks odbywa się na etapie autorowania, po powierzchni, a nie na etapie cieniowania, między lobami BSDF: warstwy rozwiązują się w jeden zestaw parametrów powierzchni jeszcze przed oświetleniem i to właśnie czyni je osiągalnymi w budżecie G-Buffera z Rozdziału 24. Czytany przez Rozdział 25, jest przeciwnym końcem tego samego spektrum niż graf węzłów — mniej ekspresyjny per asset, dramatycznie bardziej spójny w skali tysięcy assetów i o wiele łatwiejszy do globalnego przestrojenia, kiedy w osiemnastym miesiącu zmienia się kierunek artystyczny „jak bardzo zużyty jest ten świat”.

The library is the real lesson here, and it generalises to any studio: the set of layer templates is the look of the game, far more than any individual asset is. Adding a layer to it is a decision with the weight of a shared shader in VFX, and the discipline it needs — measured albedo values, a consistent roughness convention, one naming scheme — is exactly the discipline Chapters 13–14 and Appendix P argued for. Prawdziwą lekcją jest tu biblioteka i uogólnia się ona na każde studio: zestaw szablonów warstw jest lookiem gry, dużo bardziej niż jakikolwiek pojedynczy asset. Dodanie do niego warstwy to decyzja o ciężarze współdzielonego shadera w VFX, a dyscyplina, której wymaga — zmierzone wartości albedo, spójna konwencja roughness, jeden schemat nazewnictwa — to dokładnie ta dyscyplina, o którą upominały się Rozdziały 13–14 i Dodatek P.

↓ raytracing-book, Appendix AC — layered materials with the blending done at shading time, the other end of this spectrum↓ raytracing-book, Dodatek AC — materiały warstwowe z miksem na etapie cieniowania, czyli drugi koniec tego spektrum
Layer.stackbase template + masked library layers, resolved before lightingszablon bazowy + maskowane warstwy z biblioteki, rozwiązane przed oświetleniem
base material templatebazowy szablon materiału layer 1 · painted steel · mask Awarstwa 1 · malowana stal · maska A layer 2 · edge wear · mask Bwarstwa 2 · przetarcia krawędzi · maska B layer 3 · grime · mask Cwarstwa 3 · zabrudzenie · maska C microblend detail normaldetalowa normalna microblend one surfacejeden zestaw parameter setparametrów base · rough · metal · N G-BufferG-Buffer → lighting→ oświetlenie The stack is flattened at authoring time — the renderer never sees three layers, only their result.Stos jest spłaszczany na etapie autorowania — renderer nigdy nie widzi trzech warstw, tylko ich wynik.
The structural difference from Chapter 15's stack: there, layers are BSDF lobes combined during shading; here they are surface parameters combined before it. The artistic vocabulary is the same, the cost model is not.Strukturalna różnica względem stosu z Rozdziału 15: tam warstwy to loby BSDF łączone w trakcie cieniowania; tutaj to parametry powierzchni łączone przed nim. Słownictwo artystyczne jest to samo, model kosztu — nie.
Stage: Three renderers, one lookEtap: Trzy renderery, jeden look

What the path-traced mode revealedCo obnażył tryb path tracingu

Cyberpunk 2077 launched with a rasterised renderer plus optional ray-traced reflections, shadows and diffuse illumination, and later added a fully path-traced mode built on modern importance-resampling and denoising techniques. Three fidelity levels, one asset library, and every material in the game visible in all of them. Cyberpunk 2077 wystartował z rendererem rasteryzowanym plus opcjonalnymi ray tracingowymi odbiciami, cieniami i oświetleniem rozproszonym, a później dostał tryb pełnego path tracingu zbudowany na współczesnych technikach resamplingu według ważności i odszumiania. Trzy poziomy wierności, jedna biblioteka assetów i każdy materiał w grze widoczny w każdym z nich.

↓ raytracing-book, Appendix AN — ReSTIR and neural reconstruction: the sampling that makes a path-traced mode shippable↓ raytracing-book, Dodatek AN — ReSTIR i rekonstrukcja neuronowa: sampling, dzięki któremu tryb path tracingu da się wydać

This is the situation Chapter 25 described as an A/B against the path tracer, except lived at production scale, and it produces a specific class of failure worth naming. Materials get tuned against the renderer the artist is looking at. If interiors are lit mainly by a screen-space approximation that loses off-screen bounce, albedos drift brighter to compensate; when path tracing restores the missing light, those same interiors read as washed out. The same happens in reverse with emissive signage: values pushed up to punch through an approximate GI solution become blinding once they light the scene for real. To sytuacja, którą Rozdział 25 opisał jako porównanie A/B z path tracerem, tylko przeżyta w skali produkcyjnej — i rodzi konkretną klasę porażek wartą nazwania. Materiały są strojone pod renderer, na który patrzy artysta. Jeśli wnętrza oświetla głównie przybliżenie ekranowe gubiące odbicia spoza ekranu, albedo dryfuje w jaśniejszą stronę jako kompensacja; kiedy path tracing przywraca brakujące światło, te same wnętrza czytają się jako wyprane. To samo dzieje się odwrotnie z emisyjnymi szyldami: wartości podbite, żeby przebić się przez przybliżone GI, oślepiają, gdy zaczną oświetlać scenę naprawdę.

The defence is the one this book has argued for since Chapter 13: author to measured, physical values — albedo in its plausible range, metals as metals, emissives in real photometric units — and let each renderer be wrong in its own way, rather than pre-compensating for one of them. A material built on physical values transfers between fidelity levels; a material built to look right in one of them is a debt payable when the next mode ships. Obroną jest to, o co ta książka upomina się od Rozdziału 13: autoruj na zmierzonych, fizycznych wartościach — albedo w prawdopodobnym zakresie, metale jako metale, emisje w prawdziwych jednostkach fotometrycznych — i pozwól każdemu rendererowi mylić się na swój sposób, zamiast kompensować z góry pod jeden z nich. Materiał zbudowany na wartościach fizycznych przenosi się między poziomami wierności; materiał zbudowany tak, żeby wyglądał dobrze w jednym z nich, jest długiem płatnym w dniu premiery kolejnego trybu.

Stage: The migrationEtap: Migracja

When a studio retires its own engineKiedy studio wygasza własny silnik

CD Projekt RED announced that its future titles move to Unreal Engine 5, developed in a technology partnership with Epic rather than as a plain adoption. That is a notable data point for anyone weighing how much to invest in learning a proprietary engine: the industry's direction of travel is toward a shared engine with studio-specific extensions, precisely because the maintenance cost of a fully in-house renderer is now measured against a competitor with thousands of engineers. CD Projekt RED ogłosiło, że kolejne tytuły powstają na Unreal Engine 5, rozwijanym w partnerstwie technologicznym z Epikiem, a nie po prostu przyjętym z półki. To istotna informacja dla każdego, kto waży, ile zainwestować w naukę zamkniętego silnika: kierunek, w którym idzie branża, to wspólny silnik z rozszerzeniami studia — właśnie dlatego, że koszt utrzymania w pełni autorskiego renderera mierzy się dziś z konkurentem mającym tysiące inżynierów.

For a lookdev artist the reassuring part is what survives such a migration. The layer library survives as concept and often as data. Measured albedo and roughness conventions survive unchanged. Texel density standards, channel-packing conventions and the lookdev level survive. What does not survive is tool muscle memory — and that was always the least valuable thing in the room. Dla lookdev artysty uspokajające jest to, co taką migrację przeżywa. Biblioteka warstw przeżywa jako koncept, a często i jako dane. Konwencje zmierzonego albedo i roughness przeżywają bez zmian. Standardy gęstości tekseli, konwencje channel packingu i poziom lookdevowy przeżywają. Nie przeżywa pamięć mięśniowa narzędzia — a to zawsze była najmniej wartościowa rzecz w pokoju.

For lookdevIn-house engineLicensed engine
DocumentationColleagues and test scenesPublic docs, community, courses
Material authoringFitted to the game; often data-driven layersGeneral-purpose node graph plus instances
Ground-truth referenceOnly if someone built oneUsually a built-in path tracer
Changing the rendererPossible — the team owns itConstrained to what the engine exposes
Skill portabilityConcepts transfer, tools don'tBoth transfer
Consistency at scaleUsually stronger — fewer degrees of freedomRequires enforced conventions
Dla lookdevuSilnik autorskiSilnik licencjonowany
DokumentacjaKoledzy i sceny testowePubliczne docsy, społeczność, kursy
Autorowanie materiałówDopasowane do gry; często warstwy sterowane danymiUniwersalny graf węzłów plus instancje
Referencja ground truthTylko jeśli ktoś ją zbudowałZwykle wbudowany path tracer
Zmiana rendereraMożliwa — zespół jest właścicielemOgraniczona do tego, co silnik wystawia
Przenośność umiejętnościKoncepcje się przenoszą, narzędzia niePrzenosi się jedno i drugie
Spójność w skaliZwykle większa — mniej stopni swobodyWymaga egzekwowanych konwencji
From practiceZ praktyki

Joining a studio with an undocumented engine, seven questions replace the missing manual, and all seven come from this book: what is the working colour space; is the tonemapper fixed and where are its settings; is there a lookdev level with calibration objects and lighting presets; where is the shared material/layer library and who owns it; what does the renderer approximate that a path tracer wouldn't; what is the project's texel density and memory budget; and what does the engine do to my material at the LOD nobody looks at. Anyone who can answer those can work in any engine, documented or not. Kiedy dołączasz do studia z nieudokumentowanym silnikiem, brakującą instrukcję zastępuje siedem pytań i wszystkie siedem pochodzi z tej książki: jaka jest przestrzeń robocza; czy tonemapper jest stały i gdzie są jego ustawienia; czy istnieje poziom lookdevowy z obiektami kalibracyjnymi i presetami świetlnymi; gdzie jest wspólna biblioteka materiałów/warstw i kto jest jej właścicielem; co ten renderer przybliża, czego path tracer by nie przybliżał; jaka jest gęstość tekseli i budżet pamięci w projekcie; i co silnik robi z moim materiałem na LOD-zie, na który nikt nie patrzy. Kto potrafi na nie odpowiedzieć, poradzi sobie w każdym silniku — udokumentowanym czy nie.

GlossarySłowniczek
In-house engineSilnik autorski
Rendering technology built and maintained by the studio that ships games on it — fitted to those games, undocumented outside.Technologia renderowania budowana i utrzymywana przez studio, które wydaje na niej gry — dopasowana do nich, nieudokumentowana na zewnątrz.
Multilayer material setupWielowarstwowy setup materiału
A base template plus an ordered stack of masked library layers with per-layer tint and roughness/metalness overrides, flattened before lighting.Szablon bazowy plus uporządkowany stos maskowanych warstw z biblioteki, z tintem i nadpisaniami roughness/metalness per warstwa, spłaszczany przed oświetleniem.
Layer libraryBiblioteka warstw
The studio-wide set of layer templates — in practice the definition of the game's material look, and a shared asset with shared-shader weight.Ogólnostudyjny zestaw szablonów warstw — w praktyce definicja looku materiałowego gry i wspólny asset o ciężarze współdzielonego shadera.
Hybrid ray tracingHybrydowy ray tracing
A rasterised frame with selected effects (reflections, shadows, diffuse GI) ray traced — the middle fidelity tier between raster and path tracing.Klatka rasteryzowana z wybranymi efektami (odbicia, cienie, GI rozproszone) liczonymi ray tracingiem — środkowy poziom wierności między rasterem a path tracingiem.
Fidelity tierPoziom wierności
One of the several renderers a shipped game runs — the same materials must read correctly in all of them.Jeden z kilku rendererów, na których chodzi wydana gra — te same materiały muszą czytać się poprawnie w każdym z nich.