Показаны сообщения с ярлыком Tutorial. Показать все сообщения
Показаны сообщения с ярлыком Tutorial. Показать все сообщения

среда, 24 августа 2016 г.

Lens Flares Has Been Released on Epic Marketplace

I designed a shader to help simulate various lens flares effects like flares around light sources, glow, light spikes. This works correctly for all cases including casese with overlapping.

My lens flares material pack has been released on Marketplace and available from this link: https://www.unrealengine.com/marketplace/custom-lens-flares-material

You can read more here:
http://antondoe.blogspot.ru/2016/06/creating-custom-anamorpic-lens-flare-in.html

среда, 10 августа 2016 г.

Serialization with Polymorphism and Inheritance in Unity


In this article, I would like to share my experience in serialization of classes with inheritance and polymorphism in Unity. If you have some troubles with serialization of ScriptableObjects or with saving your data, it’s written to help you. Here I try to explain, how to serialize your data into asset. You can download sources for this tutorial here.

четверг, 4 августа 2016 г.

Creating Fur in Unreal Engine


This tutorial shows how to create a fur like on screenshots below, using shells technique. This technique creates a number of shells around geometry and assigns material, that simulates fur slice for each shell. This looks pretty well from a distance.










понедельник, 27 июня 2016 г.

Unreal: Debugging materials and shaders example

Here is two tips that may be usefull if you want to debug your shader.

There is many ways to debug shaders in Unreal Engine. For example, you can translate your shader into HLSL code and use any software that you like for debug that. Or install a Renderdoc plugin to capture a whole frame in Unreal's viewport and jump to Renderdoc. You can read more about it here.

But sometimes you don't want to dig deeper when debugging and use a third-party software, especially if you are not going to solve something complicated, but want to debug some value or see what shader does after interpretation in hlsl.


вторник, 26 апреля 2016 г.

Unreal Engine Blendables Blend Weigth Tutorial


When setting up PostProcessSettings Blend Weight doesn't affect on PostProcess material appearance by default. There is two solutions.

The first is simply to create your own Blendable in c++ or Blueprint and implement desired functionality as its suggested by Epic (https://docs.unrealengine.com/latest/INT/Engine/Rendering/PostProcessEffects/Blendables/index.html)

The second is to set-up right settings in master material and material instances of PPM. I've found that Blend Weight default behaviour is performing interpolation between master and instance material parameter values. It's a key to this solution. When Developing a shader, it is necessary to pick out all parameters that changing shader appearance and set its values in master material so master material doesnt