Blog

Towards Photorealism in the Watch Demo

2014-10-20

Introduction

In this article I'll try to deal with the non-trivial issues which I have encountered while creating the Watch demo.

This article is aimed at those possessing basic knowledge in Blender's modeling and texturing tools as well as the node editor.

The photo on the right was used as a reference.

The following questions will be considered in this article:

  • Creating the crocodile leather material, including a seamless texture and specular settings and
  • Setting up the gold material.

It was very important to sustain a parametric approach while creating the scene. Especially it had to do with the two specified objects. I had to abandon many decisions and start looking for new ones, and this is why parametrization saved me a lot of time.

Crocodile Leather: Seamless Texture

In most cases it's possible to use textures taken from such resources as CGTextures. After searching for the right texture I finally understood that this was not an option. So I decided to create an image the pattern of which I would be able to control.

I took the photos of real leather watch wristbands as a reference as well as the original watch picture. Using all that I specified the pattern of scales in Inkscape:

The guidelines were needed to sustain the seamlessness of the texture.

Next, the corresponding masks for different details were created on the basis of this texture in Inkscape and GIMP:

In the process of creation these images were constantly being checked for seamlessness and when needed were corrected in Blender using the following simple method:

Create a plane, scale it and the corresponding UV by three times. Assign a material and texture to the plane. Create a second plane with parameters as on the fourth frame of the above picture. The second plane marks the image borders and moreover it is used for baking the final texture.

I used the shader nodes instead of compositing nodes in order to assemble the seamless texture. With a little creativity and using the shader nodes it's possible to achieve interesting effects which can be later reused in the material of the scene itself.

Texture nodes

The labels on the pictures above show how the texture changes after being mixed with other textures and masks.

This way, I created a material which looks like a texture. In order to get an image out of this material it has to be baked on a plane. An image of the necessary resolution should be applied to the plane's UV. After baking the such material-texture I got a grayscale image which was later used to create normal, color and specular maps.

The baked normal map and an alpha-channel with a grayscale texture inside:

At this stage the seamless texture is created. I will omit the tuning of the leather material (as it is an easy thing to do) and will proceed to the specular settings.

Crocodile Leather: Specular Settings

Working on the specular I wanted to show that this material is both strong and soft.

As you can see at the image the specular consists of three parts:

  • Sharp central spec (1) - it highlights small details.
  • Big grey spec (2) - being mixed with the first one, softens it, making the material visually smoother.
  • Environment spec imitation (3) - this effect is easy to achieve by creating a mask as shown below:

We can create similar and more complicated specs by manipulating the Spec output from the Extended Material node. The examples as pictured below:

The spec for leather wristband material:

In Blend4Web starting from version 14.09 an additional node group - SMOOTHSTEP - has appeared. It's more effective to use this node instead of sophisticated combinations of Power, Multiply and Squeeze Value nodes.

The Gold Material

Blend4Web supports projecting textures towards the camera (Normal output of the Geometry node). This way we can create a "matcap" material (short for "material capture"). This is the principle used in the gold material in this scene.

In order for the material to look like a gold it's necessary to imitate the reflected environment. I've done this throw combining the texture with soft color gradients and a contrast texture.

The blending of color masks is done inside the "color" block of our gold material. The effect of these elements is shown on the animated picture above. The first and second frame shows the masks, the third one is color and the third - the contrast texture.

Conclusion

As shown in this tutorial, by using the node material you can create seamless textures as well materials which are sophisticated yet flexible in tuning, and which will look identically both in the browser and in Blender.

The source files of the "Watch" demo are part of the Blend4Web SDK commercial distribution.

[2014-10-20] Initial release.

[2015-09-15] Changed illustrations because of new interface.

[2016-06-03] Fixed a User Manual link.

[2017-01-12] Minor changes in the text.

Comments
09 jan. 2025 05:55
As a huge fan of Sprunki Retake Mod is like a breath of fresh air. The updated visuals make it even more fun to play!
10 feb. 2025 05:00
The levels in Geometry Dash Lite become increasingly difficult, making the game more engaging and encouraging players to try to complete each level. Challenge yourself in a new way but be agile within your limits.
03 jun. 2025 11:16
Competing against Speed Stars global leaderboards brings endless motivation, as you strive to shave milliseconds off your time and outrun digital ghosts of players from around the world.
03 jun. 2025 15:42
flash Bitcoin refers to a cryptocurrency sent to your wallet but doesn’t stay there for a long time, depending on the software used to flash the coin.

Flash bitcoin has no difference with real bitcoin itself, except for the fact that it does not last for a lifetime.
All coins are being generated by specified flash bitcoin softwares.

The minimum Order is $2000 btc you pay $200 to get $2000 btc worth of Flash BTC

The Maximum Order is $10,000,000 btc

Flash BTC will be securely stored in any wallet for a period of up to 90 days before being rejected by the blockchain network. Gain a thorough understanding of this procedure to safeguard your digital assets from potential loss. fastusdts is available to provide guidance throughout the flashing process and ensure the security of your bitcoin holdings.

We are the Best Bitcoin Flashing Service you will find Online WE SELL FLASH COINS

FEATURES OF OUR FLASH BITCOIN

The first is that it disappears in any wallet it is found in and any crypto it has been converted to after 90 days from the date you received it.

The second difference is that Flash BTC cannot be transferred more than 12 times.

And the third difference is that Flash Bitcoin can be converted into any other type of crypto coin in an exchange, but if it is restored, that coin will also disappear after 90 days.

100% confirmed transaction

The transaction fee is max, ie priority for quick confirmation

Cannot cancel a transaction with the Bitcoin server

You can spend bitcoins easily on any other address (Segwit address, legacy, Segwit / bch32)
It works with all wallets. contact us on telegram or whattsapp

https://fastusdts.com/product/flash-bitcoin/

https://wa.link/34xulv

https://t.me/Fastusdts

FLASH USDT TRC20

Unlocking the Power of Flash USDT: A Revolutionary Way to Transact on Blockchain

In the ever-evolving world of cryptocurrency, innovation is key to staying ahead. One of the most exciting developments in this space is the introduction of Flash USDT, available in both ERC20 and TRC20 formats. This innovative digital asset is designed to revolutionize how you conduct transactions on blockchain networks, providing an efficient, seamless, and user-friendly experience.

Understanding USDT FLASH

Flash USDT is not just another cryptocurrency; it’s a unique solution that empowers users to manage their digital assets effectively. Whether you are an experienced trader or new to the crypto world, Flash USDT offers you an opportunity to transact with confidence. With a minimum order requirement of just $2,000, you can pay $200 to receive $2,000 worth of Flash USDT. This accessible entry point makes it easier for individuals and businesses to leverage the benefits of this innovative financial tool.

For those looking to maximize their investment, the service also supports larger transactions, with a maximum order cap of $550,000 for a fee of $55,000. This scalability makes Flash USDT an appealing option for a wide range of users, from individual investors to institutional players.

https://fastusdts.com/product/flash-usdt/

https://wa.link/34xulv

https://t.me/Fastusdts

Why Choose USDT FLASH?

1. What happens to USDT FLASH after 50 days?
After 50 to 90 days from the date you received it, Flash USDT will automatically disappear from your wallet, as well as any cryptocurrency it has been converted to. This feature encourages timely transactions and adds a sense of urgency to your trading strategies.

2. Can I transfer USDT FLASH to another user?
Yes, you can transfer Flash USDT, but remember that it can only be transferred up to 12 times. After that, it will no longer be valid. This limitation ensures that users maintain control over their assets while facilitating efficient exchanges.

3. Can I convert USDT FLASH into other cryptocurrencies?
Absolutely! Flash USDT can be converted into any other cryptocurrency available on exchanges. However, keep in mind that if the converted coin is restored to Flash USDT, it will also disappear after ten days.

4. Is fastusdts a trustworthy platform?
Yes, fastusdts is committed to providing a secure and reliable environment for all your cryptocurrency transactions. Our security measures and customer support ensure that your experience is both safe and enjoyable.

https://fastusdts.com/product/flash-usdt/

https://wa.link/34xulv

https://t.me/Fastusdts
05 jun. 2025 12:00
This could be one of the most helpful blogs we've ever come across on the subject. Actually, great. I am also an expert on this subject, so I realize how hard you worked retro games.
Please register or log in to leave a reply.