Texture with a specular effect

From Ryzom Forge Wiki

Jump to: navigation, search

Migration

Please use the migrated document at URL shown below.

Migrated to en:Texture with a specular effect at 2018-06-13

Flag-DE

Übersetzung , bitte.

Flag-ES

Traducción, por favor.

Flag-RU

перевод, пожалуйста.


Texture with a specular effect

In Ryzom Core, it is possible to create brightness effects, which give an iridescent/metallic aspect to objects and creatures. It is called the specular effect. For this, it is needed to create an adapted texture, which will include an alpha layer, with the quantity of brightness/specular effect to apply to each zone in grey levels. The assets that have been freed by Winch Gate provide quite a lot of examples. It is quite unusual for areas to get more than 20% of effect. In this field, the best is to try depending on your wishes and your visual preferences for your universe project. Let's see how to apply specular effects to the minaret texture. The base texture (the one showing the colors) for the minaret.dds file:

Speculaire 00a.jpeg

and its alpha layer, in grey leveles here to make it understandable.

Speculaire 00b.jpeg

The clearer an area, the brighter it will look.

Creating a simple material

First, follow the steps explained in the creation of an object that can be held for the base texture. The following material can be obtained as a result, for example, in 3DSMax.

Speculaire 01.jpeg

Changing the material type

In the "Shaders Type" part of the NeL Material, just change the type to "Specular (material with specular reflection cubemap)"

Speculaire 02.jpeg

Adding a pattern in the specularity

Right-click then near the material in the view_1 and select "Bitmap", and enter the pattern that will be used for the calculation of the effects.

Speculaire 03.jpeg

Following what Nevrax has created for Ryzom, those are usually very small files with colored or monochromatic halos. TR_env.png, here below, is only 32x32 pixels

TR env.png

Linking the specularity bitmap

Then tell the material to use this Bitmap as a second source, it can be done by linking the two cornerstones as below, by left-clicking and sliding

Speculaire 04.jpeg

or by mentionning this Bitmap as SpecularMap in the "Nel Textures" area.

Speculaire 05.jpeg

The result in NeL/Ryzom Core

Once this is done, just export the .shape and then use it in a DataSheet.

Speculaire 06.jpeg

And here you get a fine minaret with brightness effects!


8 pages in Textures

Ryzom Wiki: Ryzom Commons | DE • EN • ESFRRU | Ryzom Forge