Transparent Sunglasses
Intro
In this sunglasses tutorial I'll show you how photo-realistic materials and environment can be created.
While reading this article I recommend you to open the blend file of this scene and look at the described moments right in Blender. You can find the blend file in the free Blend4Web SDK or on GitHub at deploy/tutorials/sunglasses.
Below you can find the reference image and the interactive embedding of the final model, one under another.
Preparing the Model
Our story starts from a high-poly model. I envisioned the final scene and decided to create a middle-poly model (via high-poly retopology) first and then to edit its normals.
Figure 1. High-poly model.
Normals editing can sometimes help us to get rid of normal maps. The drawback of this method is that it requires quite a large number of polygons. Therefore you should decide what is the best option for each scene. In this scene I used normals editing for "global" influence and normal maps for "local" influence on the normals.
Figure 2. Normal maps.
In the cases when I edit normals for numerous surfaces I use a trick to save my time, especially if I need to edit the mesh itself after editing its normals. I create a copy of the object and delete those polygons that adversely influence the surface normals:
Figure 3.
1. Main model with unedited normals.
2. Auxiliary model which has distorting polygons removed (on bevels).
3. Main model to which auxiliary model's normals are copied using the Copy From Mesh tool.
At this stage the model is ready and we can proceed to UV unwrapping.
UV Unwrapping
Before unwrapping the model it is highly advisable to take into account some Blend4Web peculiarities. A single mesh cannot have more than 2 UV layers and more importantly normal maps always use the first UV layer in the list. Two UV layers are quite sufficient for objects of any complexity. In most cases I use one of the UV layers for baking various maps and the other - for tiling textures.
Figure 4. UV layer for baking.
Figure 5. UV layer for tiling textures.
Textures
For this scene I have used the first UV for baking and layering ambient occlusion texture only.
Figure 6. Ambient occlusion texture.
The "LV" label is present on the sunglasses in two places - as embossings on the sunglasses rim and as a transparent legend in the one of the lenses corner. That's why I have decided to combine the embossing normal map and a grayscale texture used for making the lense corner legend transparent.
india past president india past population policy india first prime minister india first president india first gold medal in olympics india first life insurance india first language india first nuclear test india pro or anti natalist india pro wrestling india pro volleyball league india pro player in free fire india pro game india pro player india pro league india pro kabaddi league india since independence india since independence ncert india since independence in hindi india since independence upsc india since independence summary india since 1947 india since independence tnpsc india since independence price india through the ages india through a traveller's eye india through the eyes of a foreigner india through a traveller's eye in hindi india through a traveller's eye summary india through maps india through a traveller's eye objective question answer india through my eyes air india thru check in passage thru india passage thru india menu passage thru india damansara passage thru india halal passage thru india delivery passage thru india menu price passage thru india bukit damansara india till date vaccination india till india till 2023 schedule india lockdown till miss india till now india population till date india gdp till now india lockdown till september india to us travel ban india to usa flights india to us india to canada travel india to usd india to canada flights india to usa money transfer india towards a new era india towards endemic india towards self reliance india towards freedom india towards green economy india towards 5 trillion economy india towards digitalization india towards cashless economy ppt india under british rule india under 19 india under british rule quizlet india under 19 captain list india under british rule map india under 18 population india under reported covid deaths india under 19 world cup until india india lockdown until india lockdown until may 15 india quarantine until when india lockdown until july india lockdown until may 31 india borders closed until india british colony until 1947 india up election india up news india up covid india up covid cases india up election 2021 india up map district india up rashtrapati india up population india versus england india versus england test india versus england live score india versus england score india versus new zealand india versus england live india versus pakistan india versus england match india via dubai indian visa application india visa online india visa for us citizens india visa application india visa from usa india visa appointment india visa status india with states india with covid india with sanjeev bhaskar india with states map india with covid today india with no covid india with pakistan map india with taliban india within bangladesh within india meaning within india travel restrictions within india passport required within india courier within india within india flights within india parcel india without power india without urdu india without visa countries india without kashmir india without partition india without electricity india without corruption india without visa india india arie india arie songs india area india and covid india and lil durk india afghanistan india and pakistan india amazon india bazaar india bazaar near me india bistro india batson india birth rate india bazaar frisco india bhavan india bazaar irving india covid india covid cases india cricket india china india coronavirus india currency india covid deaths india capital india defence news india de beaufort india delta variant india date and time india durk india diwali india diwali 2021 india demographics india eisley india england india economy india e visa india england cricket india england test series india etf indian visa india flag indian food near me india facts india flights india foxtrot india food near me india flavors india forums india gdp india garden india gate india gdp per capita india government india grocers india grill india gants india house india holidays 2021 india hemsworth india holidays india hicks india house chicago india hut india house santa fe india ink india independence india income tax india india india international flights india inflation rate india independence day india imports indiana jones india jewelry