Search Unity

Пост-эффекты в Unity (предварительный выпуск)

, 10 декабря, 2015

Всем привет! Сейчас мы разрабатываем новые пост-эффекты (image effects) для Unity. Идея, которая стоит за этим, заключается в том, чтобы эффекты выглядели отлично и работали на платформах разного уровня, насколько это возможно.

Screen Space Raytraced Reflections

Вот список эффектов, над которыми мы работаем:

  • Screen Space Reflections
  • Tonemapping & Color Grading
  • New Antialiasing (SMAA)
  • Depth of Field

В будущем список будет расширяться

Открытая разработка

Каждый из перечисленных выше эффектов находится на различных стадиях разработки, но мы считаем, что это не должно препятствовать тому, чтобы вы их попробовали, поэтому в разработке используется открытый аккаунт BitBucket. Также новые эффекты будут выкладываться в Unity Asset Store. Мы хотим дать сообществу Unity возможность участвовать в разработке вместе с нами, поэтому мы будем рады принимать от вас запросы на включение и обсуждать все, что связано с новыми эффектами.

Как загрузить?

Вы сможете получить проект на BitBucket или Asset Store. Версия в Asset Store будет периодически обновляться, она отмечена в главном репозитории Эффектов.

Asset Store


tonemapping and colour grading
Два варианта использования инструментов Tone Mapping и Color Grading в нашей сцене Unity labs

Состояние разработки

  • Screen Space Reflections — мы не успели закончить эффект к выпуску Unity 5.3 из-за некоторых сложностей. Теперь все исправлено, эффект готов к применению в проектах. Примечание: для использования требуется отложенный рендеринг; эффект не предназначен для мобильных платформ.
  • Tonemapping & Colour Grading находится в разработке, доступна стабильная бета-версия. Поддерживаются таблицы поиска и другие дополнительные возможности.
  • Depth of Field находится в разработке, доступна стабильная бета-версия.
  • SMAAнаходится в разработке, эффект не вполне готов к использованию. В некоторых он сценах работает, в других — нет. Используйте по желанию; мы работаем над исправлениями.

Ждем ваших отзывов по поводу этих эффектов! Будем рады вместе с вами создавать удивительные вещи!!

-Тим К

Depth of Field effect
Depth of Field used in our Shader Calibration scene

40 replies on “Пост-эффекты в Unity (предварительный выпуск)”

There should be a Presets drop down under camera, where you can select a bunch of effects with pre-set settings and also add your own.

I really like the Tonemapping, but everything slows to a dead crawl with error when I launch a particle effect with Tonemapping on the camera.

Also, it doesn’t seem possible to have multiple cameras with tonemapping.

hi there i am just develop this excellent website with regards to whom awareness for you to Tunes iles, gastronomie, insular video, Insular e-book, if you need to be involved on this celebration would likely does one pay a visit to festival

While open sourcing everything — you should really put some more work into keeping everything up to date and responding to pull requests.

All other open source repositories are always lagging behind public releases. The development is not «public» — only a single commit with changes per released version, pull requests are never picked up (there’s no real «conversation» going on). I have already submitted 3 different pull requests to various projects but i don’t ever recall getting any reply.

The image effects project is run completely publicly. All development is done directly in bitbucket, every single commit is done there. We hope that this will make working with the community on the code in an equal way much better.

I was referring to the other repositories, such as the UI code. I recall submitting a PR to the UI repo as well as the XcodeAPI, but received no reply. The UI repo is still on 5.2, it wasn’t updated to the released 5.3…

So I’ll take the responsibility for the UI bitbucket repo. Each update take a while and public releases don’t always align nicely with my «free» time but I try to do it within a week of the public release. As for the PR’s on the repo yes we need to get better at looking at them. Its something i’m trying to get a process going for so we can have better communication going forward.

Unity team, thanks to start this. My suggestions: Well, free and open SMAA from Github works very good without bugs, SSR from Kode80 and others SSRs (like Livenda , candela) too , we need this advanced images effects by default.

Keijiro developer makes a lot of new good image effects for free too: like KineBokeh, KineBLur, HexBokeh, Deffered AO, new Bloom, Color Suite and etc…

Why Unity not buy the new Livenda CTAA (Temporal Antialiasing) to solve lot of problems like Bloom Flicker and Shimmer (to eliminate antialising frequency problems) ?

And SCION from JOVE Software:!/content/41369

Btw this is a good update ! Thanks

We need to have image effects by default guys, we shouldn’t have to import them seperately.
Also we need the best AA possible, and working perfectly on mobile too (it’s been a huge issue). Hope the temporal filter is on track because AA is a game:)changer.
Good luck.

Agreed with Sergio, People always says that unreal engine is better than unity in terms of graphics. But they dont know that their default rendering has many well designed image effects… Unity should use the same system.
Also I heard that Sébastien Lagarde started to work for unity. I really wonder what he is currently working on?:)

«physically based, physically based, physically physically physically based» :)

Sébastien and his team are working on a lot of things, you’ll hear about them soon(ish).

Agreed with Sergio, just like there’s a single Übershader that has features that get enabled/disabled, based on what you’re using, there should be an Überposteffect script on the camera, which not only improves the workflow, but means that whatever framebuffer effects can be combined into a single pass can be, thus saving a lot of fillrate compared to stacking multiple framebuffer effects all in separate passes.

there should be just ONE uber effect to make the most common posteffects in just ONE component,
with AA, SSAO, SSRR, Vigneting & chromatic A, DOF, blur, noise, bloom and glow and color correction.

Already added to the camera by default, and already adjusted for the best result.

It would improve Unity default render which would give people the impresion that Unity is a high-end graphics engine, right out of the box.

It would also help on workflow since we could just copy ONE component for the effects, and not 8 or 10.

Then the ability to plug a material (shader material) to a camera to overlay the render, and to plug a material to a light.

Agree, that’s the plan for «eventually». Right now we want to get the individual effects up to good quality level, later on see how to combine them into one, sort of, «standard» configurable effect.

Can you guys put some post effect tutorials so we can make our own.Btw i love unity and i recommend it to enyone……………………even my mom ,and she doesn’t know anything about game development.

That’s unlikely to happen due to restrictive license. But you can add it yourself. It is super easy. Download HBAO+ unity plugin from NVidia, import it to your project and you’re good to go. Just make sure you read the license carefully, it is pretty heavy.

Nice to see you guys adding some nice new effects. It’s also awesome that Unity is open sourcing as much as possible. It’s very encouraging.

[…] Unity we are currently developing a number of new Image Effects. The idea behind these effects is that they should look amazing and […]

This new Antialiasing is amazing!! Oh, by the way, it looks like there is a conflict when you have the default Effects package and this Cinematic Image Effects package in the same project, the SSR deactivates itself and I get 2 warnings on my console and when I try to activate it again these warnings logs again:
«Missing shader for image effect Main Camera (UnityStandardAssets.CinematicEffects.ScreenSpaceReflection)»
«The image effect Main Camera (UnityStandardAssets.CinematicEffects.ScreenSpaceReflection) has been disabled as it’s not supported on the current platform.»
Everything works fine if I only have the Cinematic Image Effects in my project.

The issue should be fixed now if you pull the latest package from the asset store (we had a GUID clash). We consider the SMAA to be very alpha, I’m happy you like it but we feel it has a way to go still :)

Ah, nice! I see, well, it already looks way better than the other post process solutions! Can’t wait to see how it will become in the future!

If you wish to improve / add a different operator feel free, we would happily accept the pull request :). It would be great if we could expose multiple options via the UI for people to select from.

I’d point out that a lot of things don’t work correctly with Deferred Rendering. It’s not just SSRR. Even image effects like bloom or even layered cameras break Unity’s deferred rendering pipeline.

Comments are closed.