gtmf 2016:enlightenを使ったリアルタイムの大域照明 enlighten

53
Hello and welcome. Thank you very much for attending this session. こんにちは。本日はこのセッションにご参加いただきまして誠にあり がとうございます。 My name is William Joseph. I’m a senior engineer at Geomerics, where I’ve spent the last five years helping to develop Enlighten. 私はGeomericsでシニアエンジニアとして、5年程Enlightenの開発に 携わっておりますWillam Josephと申します。 This talk was written in collaboration with Ivan Pedersen, our senior technical artist. このセッションの内容は弊社のテクニカルアーティストのIvan Pedersenと共同で作成いたしました。 1

Upload: game-tools-middleware-forum

Post on 16-Apr-2017

1.156 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Hello and welcome.

Thank you very much for attending this session.

こんにちは。本日はこのセッションにご参加いただきまして誠にありがとうございます。

My name is William Joseph. I’m a senior engineer at Geomerics, where I’ve spent the last five years helping to develop Enlighten.

私はGeomericsでシニアエンジニアとして、5年程Enlightenの開発に携わっておりますWillam Josephと申します。

This talk was written in collaboration with Ivan Pedersen, our senior technical artist.

このセッションの内容は弊社のテクニカルアーティストのIvan Pedersenと共同で作成いたしました。

1

Page 2: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Enlighten is a real time Global Illumination solution which can be integrated into any game engine. Enlightenはどのようなゲームエンジンにでも組み込んでいただける、リアルタイムのグローバルイルミネーション技術です。 Global Illumination is the effect of the interreflection of light between the surfaces in your game world.

グローバルイルミネーションはゲームワールド内のサーフェス間の相互反射でおこるエフェクトです。

With Enlighten you can completely change the lighting and surface colours at runtime and the Global Illumination result will be efficiently updated in real time.

Enlightenを使用することにより、ライティングやサーフェスの色をランタイムで自由に変え、それに伴うグローバルイルミネーションの結果をリアルタイムに効率的に更新することが可能になります。

2

Page 3: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

SeastackBay_SS_Large.mp4

This is the Seastack Bay showcase, created in Unreal Engine 4 using Enlighten.

この海辺のデモはUnrealEngine4上でEnlightenを使用して作成されています。

This video was captured in real time.

このビデオはリアルタイムでキャプチャされています。

The primary sources of light are the sun and sky. Enlighten fills the space with believable bounced light.

主要な光源は太陽と空です。Enlightenがリアリティのある反射光で空間を埋めています。

Changing the lighting completely changes the mood.

ライティングの変更で完全に場の雰囲気を変えることが可能です。

Enlighten gives great results for both interior and exterior scenes.

Enlightenは室内、屋外両方のシーンで素晴らしい結果を提供します。

You can see Seastack Bay running in real time at the Enlighten table.

3

Page 4: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

この海辺のデモは展示の方のEnlightenのテーブルで、実機でご覧いただけますのでぜひお立ち寄りください。

3

Page 5: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

When creating the Seastack Bay showcase, these were our primary goals:

この海辺のデモを作成している際、次のようなことが主要なゴールでした。

We wanted to ensure that areas in shadow from the sun always have good lighting variation, rather than looking flat.

まず、太陽から影になるエリアが、ベタッと平坦なイメージではなく、いつでも深みのあるライティングになっていること。

To show what can be achieved with fully dynamic lighting, we wanted quickly changing time of day and weather.

完全に動的なライティングにすることで何ができるのかをお見せできるよう、時間と天気の変更を素早く行うこと。

All of this had to be in a game world set in a large playable outdoor environment with a long draw distance.

これらのことが、描画距離の長い、大きなプレイヤブルエリアのアウトドア環境で行われること。

It was also essential to keep the runtime cost low on current gen consoles.

また、今世代のコンソールでのランタイムコストを低く抑えることも

4

Page 6: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

重要でした。

4

Page 7: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Games without GI are often limited to simple flat terrain which has few shadowed or occluded areas and is lit mostly by direct light from the sun and sky.

グローバルイルミネーションを使用しないゲームの場合、技術的な制約が原因で、単純で平面的なテレインに制限されてしまうことが多々有ります。太陽や空からの直接光による影や遮蔽されるエリアが少なくなるようにするためです。

In this scenario, computing only a single bounce might give an acceptable result.

このような場合、一回の反射光の計算でもそこそこの結果が得られることになります。

In Seastack Bay, we wanted to emphasise the impact of many light bounces in an outdoor environment.

しかし、この海辺のデモで私たちがしたかったことは、アウトドア環境で反射光を回数多く計算した際のインパクトを強調してご覧いただくということでした。

We chose to use many vertical features that provide significant shadowing and occlusion: caves, gorges, cliffs… and seastacks!

5

Page 8: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

そのため、シャドウやオクルージョンが重要になってくる、縦に長い地形を多用しました。洞窟、渓谷、崖。。。巨大な岩などです。

5

Page 9: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Building Seastack Bay posed a number of challenges:

この海辺のシーンを制作するにあたり、多くの課題がありました。

We had a very small art team: one dedicated environment artist, and one technical artist who was responsible for the lighting.

この制作チームは背景アーティストが一人、照明担当のテクニカルアーティストが一人という大変小さなチームでした。

Creating bespoke assets for the entire environment would have been impossible.

このため、このデモのためだけに必要なアセットをシーン全体分作るのは不可能でした。

We built the environment up from scratch by reusing and repurposing kit parts that had already been created by a third artist.

そこで、私たちは別のアーティストが既に制作していたアセットを再利用、再構築しながらこの環境を制作しました。

With such a small team, it was absolutely essential that we had an efficient lighting workflow.

このように小さなチームでは、照明周りのワークフローが非常に効率

6

Page 10: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

的であるということもとても重要なことでした。

I think the results are beautiful, and a lot of the credit for this goes to the lighting artist: Ivan Pedersen.

私としては、ライティングアーティストであるIvan pedersenのおかげで、結果としてこのシーンはとても美しく仕上がっているのではないかと思います。

When asked to share the secrets of his process, he described – and illustrated – three key points of the ethos he followed when lighting Seastack Bay.

彼に、制作過程の秘密はなんですかと尋ねてみたのですが、その際に彼は次の3つのキーポイントをノートに書いて見せてくれました。

6

Page 11: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Take control of the tools.

まず、道具を使いこなす。

If we don’t have the right tools, we must build them so that we can work effectively.

最適なツールがない場合、効率的に作業するためにはそのツールそのものを作る必要があります。

Challenge the rules of reality.

現実世界のルールに果敢に挑む。

We are not just reproducing reality, we are communicating an experience.

私たちは現実をただ再現しているのではなく、エクスペリエンスを創造しているのです。

Question the existing art production process

そして、既存のアート制作過程に疑問を抱く。

Just because it’s always been done a certain way doesn’t mean that’s the most effective way to achieve our goal.

今まで主流だったやり方だからといって、それが常にゴールに到達するための一番効果的な方法だとは限りません。

7

Page 12: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Enlighten simulates reality by computing diffuse bounce between surfaces in a physically correct way.

Enlightenはサーフェス間のデフューズの反射を物理的に正しく計算することで、現実のシュミレートをします。

The resulting lighting variation gives shape and life to the world.

その結果としての表情のあるライティングはその世界に形と命を吹き込みます。

As long as we preserve this effect, we are free to take control to achieve our desired look.

そこのところを守る限り、求められている見た目を好きなように追求していって問題ありません。

8

Page 13: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

In this shot we see direct sunlight on the beach, illuminating the cave after multiple bounces.

このショットでは、ビーチ上の直接光の太陽光が何回もバウンスすることによって、洞窟内を照らしているのがご覧いただけます。

The lighting variation in the shadowed areas communicates the shape of the rocks and the overhanging cliff.

影になっているエリアのこの表情のあるライティングが、岩や頭上の崖の姿を浮かび上がらせています。

The interior of the cave is lit by Enlighten based on the amount of light reflected by all the surfaces in the scene.

この洞窟内は、シーン内のすべてのサーフェスに反射する光をベースにEnlightenで照明の処理がされています。

As the lighting artist we want to make the cave interior more bright without affecting the exterior.

ここで、ライティングアーティストがこの洞窟内部を外部に影響を与えることなくより明るくしたかったとします。

To achieve this we can take control of the bounced light.

それは反射光のコントロールをすることで実現可能です。

9

Page 14: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

We can easily brighten up the cave by scaling the indirect bounce contribution of the Sun light source.

太陽光が間接光にどのくらい貢献するかについてののスケールを変えることによってこの洞窟の明るさを簡単に変えることができます。

10

Page 15: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

We can easily brighten up the cave by scaling the indirect bounce contribution of the Sun light source.

太陽光が間接光にどのくらい貢献するかについてののスケールを変えることによってこの洞窟の明るさを簡単に変えることができます。

11

Page 16: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

We can easily brighten up the cave by scaling the indirect bounce contribution of the Sun light source.

太陽光が間接光にどのくらい貢献するかについてののスケールを変えることによってこの洞窟の明るさを簡単に変えることができます。

12

Page 17: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

By doubling the amount of bounced light from the sun, we achieve the desired look.

太陽からの反射光の量を2倍にすることで求めていた見た目を得ることができるようになりました。

13

Page 18: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Here’s the same shot at a different time of day.

こちらは別の時間帯での同じショットです。

We wanted to completely change the lighting configuration for each time of day, and easily transition from one time of day to any other.

ここでやりたかったことは、時間帯によって完全にライティングの設定を変え、かつ、ある時間帯から別の時間帯へ簡単に移れるようにするということです。

To make this easy to manage, Ivan created his own ‘Time of Day’ tool: a blueprint which can blend smoothly between different lighting configurations across multiple actors.

これを簡単に管理できるよう、Ivanは彼独自の「時間変更ツール」、つまり複数のアクターの異なる照明の設定間をスムーズにブレンドできるブループリントを作りました。

14

Page 19: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

This is the finished lighting result.

こちらが最終的なライティングの結果です。

When we take control using more powerful tools, we can iterate quickly and achieve the desired lighting result much more easily.

よりパワフルなツールを使ってコントロールすると、非常に素早くイテレーションし、より簡単に求めるライティング結果を創り出すことができるようになります。

15

Page 20: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Enlighten provides image based lighting which can be used to simulate real world reflections.

EnlightenはIBL、イメージベースドライティングを提供します。これは現実世界のリフレクションをシミュレートする際に使われます。

These reflections make the world feel more three dimensional as the viewpoint moves.

これらのリフレクションは、視点が動くに従って、そのワールドをより3次元的に感じさせます。

We assume that perfectly correct reflections will always give the best result – but we should challenge this rule.

私たちは、傾向として、完璧に正しいリフレクションがどのような場合でも最適な結果をもたらすと仮定しがちです。しかしこのルールには従わないことをおすすめします。

Providing the reflections have believable lighting, the effect will be preserved even when they aren’t perfectly correct.

リフレクション内のライティングにリアリティーがあれば、たとえそれが物理的に正しいものではなかったとしても、見ている人には十分に3次元的に感じられます。

16

Page 21: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

In this shot we can see white sparkles shining on the granite sea stack.

このショットでは、白いキラキラしたものが花崗岩でできたシースタックの上で輝いています。

This small detail brings the scene to life.

こういった小さなディテールがシーンに命を吹き込みます。

17

Page 22: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Granite is composed of up to 20% quartz, a semi-precious stone with a crystalline structure.

花崗岩は20%程度のクォーツ、結晶構造を持った半貴石でできています。

This makes the material shine with reflected light.

ここに反射光が当たるとマテリアルが輝きます。

18

Page 23: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

This shot shows the rocks with only diffuse lighting – no reflections.

このショットはデフューズライティングのみの岩です。リフレクションはありません。

Enlighten’s indirect diffuse lighting still provides plenty of variation in the shadows.

Enlightenのインディレクトデフューズライティングがシャドウの中にさまざまな深みを出しています。

19

Page 24: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

In this shot we visualise Enlighten‘s indirect specular lighting, by applying a mirror-like shiny material to the rocks.

このショットは、鏡のような光るマテリアルを岩に適用することによって、Enlightenのインディレクトスペキュラーライティングを可視化させたものです。

We can mostly see the sky, which is generally very bright.

見えているものの大部分は空になります。基本的にとても明るくなっています。

20

Page 25: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

In this shot we combine both indirect diffuse and indirect specular.

このショットではインディレクトディフューズとインディレクトスペキュラーを両方合わせています。

The sparkles are visible all the way up to the top of the cliff face, 100 metres above the viewer.

カメラ視点から見て100m上にある崖の岩肌のてっぺんまで煌めいているのが見えると思います。

21

Page 26: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Here we see the same sky reflections playing across the beach – the central bright spot catches our eye and communicates wet sand.

ここでは同じ空のリフレクションがビーチ上で見られます。真ん中の明るい場所が私たちの目を引き、濡れた砂だと錯覚させます。

22

Page 27: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

To achieve this look, it was necessary to bend the rules a little.

この見た目を得るために、現実のルールを若干曲げる必要がありました。

On the left is the sky reflection map used in Seastack Bay. It’s greyscale because we apply a different colour tint at different times of day.

左側にあるのはこのデモで使われているスカイリフレクションマップです。グレイスケールになっているのは、時間帯によって違う色合いを適用するためです。

The image appears very bright here because it’s a High Dynamic Range texture being displayed in sRGB.

ここではこのイメージはだいぶ明るく見えます。理由はこれがsRGBで表示されているHDRテクスチャだからです。

The artist painted in additional high intensity blobs high in the upper hemisphere of the reflection map.

ここにアーティストがインテンシティの高いシミのようなものをリフレクションマップの半球上部に追加して塗りました。

This provides consistently interesting reflections from the sky.

これが、常に興味深く見えるような空からのリフレクションを提供し

23

Page 28: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

ています。

23

Page 29: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

We challenge the rule that reflections should be perfectly correct, without breaking the visual consistency.

我々は、リフレクションは見た目の一貫性を壊すことなく常に正しくあるべきだ、という一般的なルールに従わないようにしています。

This brings our rocks to life, making them look the way we feel they should.

それが我々のシーン内の岩に命を吹き込み、我々が通常これはこうであるべきだ、と感じているような見た目にするのです。

It’s great to use physics and photography to guide us in developing the look, but it’s essential that the end result feels right.

見た目の改善をする際、物理学や写真をガイドとして使うのは素晴らしいことですが、一番本質的なことは結果が正しく感じられるものかどうかということです。

24

Page 30: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

The traditional art production process is linear: from concept -> modelling -> texturing -> layout -> lighting

今までのアート制作過程は、コンセプトからモデリング、テクスチャリング、レイアウト、ライティングと非常に直線的なプロセスです。

To deliver a final shot which communicates the right feeling, we need to question that process.

正しいと感じられるようなファイナルショットを創り出すためには、我々はこのプロセスに疑問を呈する必要があります。

25

Page 31: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

For a shot like this we really want to communicate that the cave is damp with moisture and lead the viewers eye across the pools and drips of water towards the bright exit.

このようなショットでは、この洞窟が湿気でじめじめしていることを表現しつつ、見る人の目を、手前の水たまりや水滴などを通って明るい出口の方へと自然に誘導したいところです。

We have both light-on-dark and dark-on-light contrast, from the bright reflections in the shadows and the vegetation silhouetted against the exterior

ここでは明るさの上に暗さ、暗さの上に明るさという両方のコントラストをつけました。影の中に見える明るいリフレクションと、明るい外部に対していシルエットになっている出口付近にある植物です。

We achieve the desired look by exaggerating the reflectiveness of the materials to communicate wetness.

湿った感じを表現するためにマテリアルの反射率を誇張することでこの見た目を作り出しています。

26

Page 32: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

The rock assets that make up the cave were originally authored as individual kit parts.

この岩を構成しているアセットは、元々、後で組み合わせて使うための部品としてオーサリングされていました。

The roughness channel on the right controls the reflections.

右側のラフネスチャネルがリフレクションをコントロールします。

This map is often created earlier in production, without knowledge of the way the asset will be used.

このマップは通常プロダクションの早い段階で作成されますが、その際後でどこでどのようにこのアセットが使われるかを考慮されていることはあまりありません。

27

Page 33: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

We used vertex paint to add the wet patches of moisture where they are most effective.

我々は湿り気の表現を追加するために一番効果的だと思われるところに後から頂点ペイントを使いました。

We’re really exaggerating the roughness channel – making it completely black – to give a stronger effect.

ここではかなりラフネスチャネルを誇張しています。効果を強めに出すために、完全に黒くしています。

It’s also very important that materials across all kit parts have a consistent roughness range.

また、すべてのパーツのラフネスレンジに一貫性があることもとても重要です。

To control this we exposed a material roughness multiplier so that we can tweak the range on each instance.

これをコントロールするために、マテリアルのラフネスマルチプライヤーをUIに出すことでそれぞれのインスタンスのレンジを修正しやすくしました。

28

Page 34: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Only when we question the process and tweak the roughness channel late in the art pipeline, can we achieve the desired look.

プロセスに疑問を持ち、アートパイプラインの後半になってラフネスチャネルに変更を加えない限り、この欲しい見た目は得られません。

29

Page 35: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Back to the ethos:

さてもう一度おさらいです。

Take control of the tools to build a more powerful lighting workflow.

より強力なライティングワークフローを構築するためにツールを使いこなす

Challenge the rules of reality to communicate an effect on an emotional level.

感情レベルでの効果を創り出すために、現実のルールに逆らう

Question the existing art production process when it limits your ability to achieve the desired look.

求められる結果を得ようとするときに、もしこれまでのやり方が自分の能力に限界をつくってしまうのなら、その既存のアート制作過程に疑問を持つ。

30

Page 36: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Now I’d like to share how we configured Enlighten in Seastack Bay to enable efficient real time Global Illumination.

では、今度は海辺のデモで効果的なリアルタイムのグローバルイルミネーションを可能にするために、どのような設定がされているかご覧いただきたいと思います。 The Enlighten Runtime is designed to run entirely asynchronously on the CPU alongside the main renderer, without blocking rendering. Enlgihtenのランタイムはメインの描画エンジンから完全に非同期な形でCPUで動き、描画をブロックすることがないようにデザインされています。 It is generally not necessary to update the indirect lighting at the full frame rate. Decoupling Enlighten updates from the rendering means you can tune performance by trading processing time for latency in the lighting.

また通常、間接光の更新はフルフレームレートで行う必要はありません。Enlightenの更新が描画から切り離されていますので、プロセッシングタイムを照明の遅延とトレードすることでパフォーマンスの調整をすることができます。 The cost of updating the lighting increases with the lighting resolution.

31

Page 37: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

ライティングの更新コストは、ライティングの解像度に従って増減します。

If we want to change the time of day quickly, we need to find a good balance between lighting resolution and cost.

時間変更を素早く行いたい場合には、ライティングの解像度とコストのちょうどいいバランスを探す必要があります。

31

Page 38: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

This view of the gorge in Seastack Bay is lit without Enlighten.

この渓谷のビューはEnlightenなしで処理されたものです。

The only light sources are direct sunlight and an ambient sky light term.

光源は太陽光とアンビエントのスカイライトのみです。

Without Enlighten there is no light bouncing between surfaces, and no occlusion of the light from the sky.

Enlightenなしの場合、サーフェス間の光のバウンスがなく、空からの光に対するオクルージョンもありません。

There’s no feeling of depth in the gorge because the bottom is just as bright as the top.

渓谷のてっぺんと底の光の差が全くないため、渓谷の深みがあるフィーリングが全く感じられません。

The flat cold colour of the shadows feels disconnected from the warm sunlight.

フラットで冷たい影の色が暖かい太陽光から切り離されて感じられます。

32

Page 39: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Here’s exactly the same view, using Enlighten. The lighting variation brings life and colour to the scene.

こちらが全く同じビューですが、Enlightenを使用したものです。この深みのあるライティングが、シーンに色と命を運んできます。

Light from the sun shining onto the wall on the left is bounced onto the right hand wall, and the gorge gradually becomes darker towards the bottom as the energy is absorbed.

太陽からの光が左側の壁に降り注ぎ、そこからバウンスした光が右側の壁にあたり、底に向かってエネルギーが吸収されるにしたがって徐々に暗くなっていきます。

The light from the sky is occluded by the steep walls of the gorge, and only the upward-facing surfaces appear a little more blue.

空からの光は渓谷の切り立った壁によって遮蔽されます。そして上に向いているサーフェスのみが若干青みがかって見えます。

With a multiple bounce solution, we can light the entire gorge naturally with just sun and sky light.

複数回の反射光の計算により、太陽とスカイライトのみでも渓谷全体が非常に自然な感じで照明が処理されています。

33

Page 40: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Enlighten makes use of both lightmaps and light probes to enable efficient rendering.

Enlightenは効果的な描画のために、ライトマップとライトプローブの両方を使います。

This visualisation shows meshes using Enlighten Lightmaps in orange, and meshes using Enlighten Probes in green.

このビジュアリゼーションはEnlightenライトマップを使っているメッシュをオレンジ、Enlightenプローブを使っているメッシュを緑で見せてくれます。

Using lightmaps works well for meshes formed from large continuous surfaces, such as the walls of the gorge.

ライトマップは渓谷の壁などの大きくて連続したサーフェスを持つメッシュに適しています。

Complex meshes with very many small features, such as foliage, are more efficiently lit using probes.

The artist can choose the appropriate mode for each mesh.

樹木のような小さくて細かな部分がたくさんあるような複雑なメッシュは、プローブを使うとより効率的です。

アーティストはそれぞれのメッシュに対してどのようなモードが適し

34

Page 41: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

ているかを選ぶことができます。

34

Page 42: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

This shot shows the Enlighten Lightmap resolution in Seastack Bay.

このショットでは海辺のデモでのEnlightenのライトマップの解像度をご覧いただけます。

Each checkerboard square represents a single lightmap pixel.

それぞれの四角が一つのライトマップピクセルを表しています。

We don’t need to use a very high resolution, because we are storing only low frequency indirect lighting in the lightmap.

ライトマップの中の低周波の間接光だけをストアするため、あまり高い解像度を使う必要はありません。

The artist chooses from a few Lightmap Quality presets, each coloured differently in this visualisation.

アーティストはこのビジュアリゼーションにあるようなそれぞれ違った色を、ライトマップクオリティのプリセットから選ぶことができます。

Distant geometry that the player will never see up close uses Low Quality, shown in orange.

プレイヤーが近づいて見ることがないような遠景のジオメトリはロークオリティを使います。オレンジ色に見えている部分です。

35

Page 43: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Extremely distant geometry that is on the horizon uses Background Quality, in purple.

地平線に近いような極端に遠いジオメトリはバックグラウンドクオリティを使います。紫色の部分です。

35

Page 44: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

After we have configured the Enlighten Lighting Mode and Lightmap Quality, we run the Enlighten Precompute.

Enlightenのライティングモードとライトマップクオリティを設定した後、Enlighten事前計算を実行します。

This offline process computes the way light bounces between surfaces in the scene.

このオフラインプロセスはシーン内のサーフェス間の光の反射を計算します。

For the Seastack Bay showcase this process took around 40 minutes, when distributed across 10 developer PCs.

このデモ内の事前計算には10台の開発PCで分散して40分程度かかっています。

36

Page 45: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

This shot shows the same gorge scene with only the meshes that contribute to the Enlighten Precompute.

このショットは同じ渓谷のシーンですが、Enlgihtenの事前計算に寄与するメッシュのみを見せているものです。

It’s only necessary to include meshes that reflect enough light to have a significant effect on the end result.

最終結果に重要な役割を果たすほどの光を反射するメッシュはここに含めておく必要があります。

The artist chooses to exclude smaller details such as foliage and walkways, in order to reduce the cost.

アーティストはフォリッジや小道などの小さなディテールを除外することでコストを下げることができます。

37

Page 46: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Now we’re also showing the meshes that do not contribute to the Enlighten Precompute, including the foliage and walkways.

今ここではEnlgitenの事前計算に寄与しないメッシュをご覧いただいているところです。フォリッジや小道などです。

These meshes are lit using Enlighten Probes, so they are lit correctly even though they do not block indirect light.

これらのメッシュはEnlightenプローブを使って処理されます。これらが間接光をブロックしたりすることはありませんが、間接光の結果は正しく反映されます。

Standard screen space techniques like SSAO are a very effective way to provide indirect shadowing for these meshes.

SSAOのような標準的なスクリーンスペース技術はこれらのメッシュに非常に効果的にシャドウを提供します。

38

Page 47: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

Enlighten automatically places diffuse light probes in the world.

Enlightenはデフューズライトプローブをワールド内に自動で配置します。

Probes are placed at a higher resolution in areas where greater accuracy is required.

プローブはより正確さを要求されるようなエリアでは高めの解像度で配置されます。

Here the artist has placed a volume specifying that a higher resolution is required for the interior of the structure.

例えばこちらは構造物のインテリアに対してアーティストが高解像度で指定したボリュームを配置した画像です。

39

Page 48: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

When using Physically Based Shading, we need accurate reflection information to achieve a realistic lighting result.

物理ベースシェーディングを使用しているとき、現実的なライティングの結果を得るためには正確なリフレクションの情報が必要になります。

When the lighting in the scene changes, it’s essential that these changes are also visible in reflections.

シーン内の照明が変更するとき、それがリフレクションの中にもきちんと反映されて見えることも重要です。

Enlighten updates reflection cubemaps in real time.

Enlightenはリフレクションキューブマップをリアルタイムに更新します。

In Seastack Bay we found that a resolution of 32x32 pixels per cubemap face gives a good balance between quality and cost.

海辺のデモではキューブマップの面あたり32 x 32ピクセルの解像度にすることで、クオリティとコストのバランスを取りました。

40

Page 49: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

With Enlighten we can make any surface emit light.

Enlightenを使うとどのようなサーフェスも発光させることができます。

With this we can achieve the effect of an area light, with no additional runtime cost.

これによって、追加のランタイムコストなしでエリアライトの効果を使うことができます。

The lava in Seastack Bay is lit using a material with an animated emissive colour.

海辺のデモに出てくる溶岩は、アニメをつけたエミッシブカラーが設定されているマテリアルを使って処理しています。

41

Page 50: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

The artist created a simple blueprint function to control the emissive colour and intensity of a mesh.

アーティストがエミッシブカラーとメッシュのインテンシティをコントロールするためにシンプルなブループリント関数を作りました。

Using this function they could expose these properties via the construction script.

この関数を使うことでこれらのプロパティをコンストラクションスクリプト経由で表に出すことができます。

This made it simple to try different values and see the result instantly in the editor.

エディター内でいろいろな値とその結果をすぐに見たいときに便利です。

42

Page 51: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

With Enlighten, the artist has control of all aspects of the lighting.

Enlightenを使うことでアーティストがライティングのすべての様相をコントロールすることができるようになります。

They can iterate on the lighting very quickly to achieve the best possible visual quality.

素早くライティングのイテレーションをし、可能な限りベストなヴィジュアル品質を追求することができます。

They can achieve a good balance between accuracy and cost using simple tools.

また、シンプルなツールで精密さとコストのバランスを上手に取ることができるようになります。

43

Page 52: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

We provide an integration of Enlighten into Unreal Engine 4.

EnlightenはUnrealEngine4にインテグレーションされています。

Enlighten is currently available in Unity 5 out of the box

また、EnlightenはUnity5での標準ソリューションとなっています。

There is also a standalone SDK for integration into your own engine.

スタンドアロンのSDKもありますので、自社エンジンに組み込んでいただくことも可能です。

The Enlighten runtime is available on all major platforms, including mobile. Enlightenのランタイムはモバイルを含むすべての主要なプラットフォームに対応しています。

44

Page 53: GTMF 2016:Enlightenを使ったリアルタイムの大域照明 Enlighten

For evaluation or pricing enquiries, please contact [email protected]

評価、金額などにつきましては、[email protected]もしくは、ここにおります冨岡までお問い合わせください。

Please visit geomerics.com to read Ivan’s blog which goes into additional detail

Geomerics.comにはIvanのブログがいろいろありますのでそちらもお読みいただければと思います。

If you have any questions, please feel free to contact myself or Ivan by email.

もしこのセッションに関してご質問ありましたら、Ivanか私までメールでお問い合わせください。

I’ll also be at the Enlighten table all day – please come and say hello.

また、今日は最後までEnlightenの展示テーブルにおりますので、お立ち寄りいただけますと嬉しいです。

Thank you very much for your attention today.

では、ご静聴いただきまして本当にどうもありがとうございました。

45