Layer styles are effects built into the layer palette that enable you to work non-destructively. This means that the effects can be turned on and off, leaving the content of the layer unaffected. Layer styles are incredibly versatile, as this tutorial will hopefully demonstrate! The graphic shown below contains just two flat shape layers - all the effects (including the text on the badge) have been applied using Layer Styles.
So how was it created? You can either read on, or view the Photoshop video tutorial below.
Create an RGB Photoshop document 550 pixels wide by 250 pixels high. If you need to create a higher resolution image, adjust the layer style settings below to achieve the desired effect. Fill the background with black.
First we're going to create a shape layer with the Rounded Rectangle Tool. Set the corner radius to 10 pixels and create a rectangle on the canvas. Double click the color swatch on the shape layer and fill it with yellow as shown below. Now select all, and (with the Move Tool selected) in the options palette click the Align Horizontal Centers and Align Vertical Centers buttons to center the shape within the canvas. Now duplicate the layer by dragging it over the Create a New Layer button at the bottom of the layers palette.
Select the lower shape layer (which will become a metal back plate for the button) and click the Add a Layer Style button. Then select Stroke from the popup menu. Make the Size 8 and set the Position to Outside. Select Gradient from the Fill Type menu and then click the default gradient that appears in the window to open the Gradient Editor.
We're going to create a new metallic gradient, so once the Gradient Editor is open, add three points below the black and white gradient bar and make all the points alternating shades of white and gray. Click OK when you're happy. Back at the Layer Style box, adjust the angle to around -135 degrees. Click OK.
Next we're going to create some text to place on our badge. Glassy objects created in Photoshop really come to life when the reflections and shadows affect some sort of image or graphic placed on the surface. You could create something in Illustrator and paste it in, or use a photo. However, because we want to create this object using nothing but Layer Styles, we need to define a pattern to place from within the Pattern Overlay layer style.
To do this, first hide the two rectangle shape layers. Create a new layer immediately above the black background layer and fill it with white. Create some text or graphics to appear on the badge, making sure they fit well within the bounds of the badge rectangle. Now select all. Go to Edit/Define Pattern... Click OK on the preview box that appears. The pattern is now defined and saved, so you can delete the graphic layers and white layer you just created. Turn the two shape layers on again.
Now select the higher shape layer - this is where the magic happens! Click the Add a Layer Style button and select Stroke. Give it the following settings (if any settings are not mentioned here, it means that they should be left at their default values):
This will create a thin white line where the 'enamel' meets the metal back plate.
Select Pattern Overlay and give it the following settings:
Select the new 'pattern' you created from the popup menu. Your graphic should appear in position exactly where you created it. If it's off-center you can move it around to a better position whilst the Pattern Overlay Layer Style dialogue box is still open.
Select Gradient Overlay. Use these values:
Then click on the gradient to open the Gradient Editor. Create a gradient with gray blending into white as shown below.
Now we'll start to give the graphic more of a 3D look. Select Bevel and Emboss with these settings:
The real juice comes with the Inner Shadow setting - select it now and input these values:
This gives the badge a lovely glassy reflection which even curves down nicely at the edges to enhance the 3D effect. Once you're happy with all the settings, click OK - and we're done!
Layer mitindo ni athari kujengwa katika palette safu kwamba kuwezesha kufanya kazi non-kuharibu. Hii ina maana kwamba athari inaweza kugeuzwa juu na mbali, kuacha maudhui ya safu unaffected. Layer mitindo ni incredibly versatile, kama hii mafunzo matumaini itaonyesha! Picha iliyoonyeshwa hapa chini ina tabaka mbili tu za umbo la gorofa - athari zote (pamoja na maandishi kwenye beji) zimetumika kwa kutumia Mitindo ya Tabaka. Kwa hiyo iliumbwaje? Unaweza ama kusoma juu, au kuangalia Photoshop video mafunzo hapa chini. RGB Photoshop: RGB Photoshop ni faili ya picha ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi ya rangi. Kama unahitaji kuunda picha ya azimio la juu, kurekebisha mipangilio ya mtindo safu chini ya kufikia athari inayotakiwa. Jaza mandhari kwa rangi nyeusi. Kwanza sisi ni kwenda kujenga sura safu na Rounded Rectangle Tool. Weka radius ya pembe kwenye pikseli 10 na uunda mstatili kwenye canvas. Double bonyeza swatch rangi juu ya safu umbo na kujaza na manjano kama inavyoonyeshwa hapa chini. Sasa kuchagua wote, na (na Move Tool kuchaguliwa) katika chaguzi palette bonyeza Align Horizontal Vituo na Align Vertical Vituo vifungo kwa katikati ya umbo ndani ya canvas. Sasa duplicate safu kwa kuhamisha juu ya kuunda safu mpya kifungo chini ya safu palette. Chagua chini sura safu (ambayo itakuwa chuma nyuma sahani kwa kifungo) na bonyeza kuongeza Layer Style kifungo. Kisha kuchagua Stroke kutoka menu popup. Fanya saizi 8 na kuweka nafasi ya nje. Chagua Gradient kutoka orodha ya Aina ya Kujaza na kisha bonyeza gradient default kwamba inaonekana katika dirisha kufungua Gradient Mhariri. Kuongeza gradient ya chuma: Kuongeza gradient ya chuma kwenye bar ya rangi nyeusi na nyeupe na kugeuza rangi nyeupe na kijivu. Bonyeza OK wakati wewe ni furaha. "Kwenye ""Layer Style"" box, fanya marekebisho ya pembe ya kuelekeza kwenye -135 °." "Kichwa cha ""OK"" ni ""Next"" ambayo inahusu maandishi ya kuingiza kwenye badge yako." Vitu vya kioo vilivyoundwa katika Photoshop vinaishi wakati tafakari na vivuli vinaathiri aina fulani ya picha au picha iliyowekwa kwenye uso. Unaweza kuunda kitu katika Illustrator na kuweka ndani, au kutumia picha. Hata hivyo, kwa sababu tunataka kuunda kitu hiki kutumia kitu chochote lakini Layer Styles, tunahitaji kufafanua muundo kuweka kutoka ndani ya muundo wa safu ya Pattern Overlay. Ili kufanya hivyo, kwanza kuficha tabaka mbili umbo la mstatili. Kuunda safu mpya mara moja juu ya safu nyeusi background na kujaza na nyeupe. Kuunda baadhi ya maandishi au graphics kuonekana juu ya badge, kuhakikisha wao fit vizuri ndani ya mipaka ya badge mstatili. Sasa chagua wote. Nenda kwa Hariri/Kufafanua Mfano... Bonyeza OK kwenye sanduku la preview ambalo linaonekana. Mfano sasa ni kufafanuliwa na kuhifadhiwa, hivyo unaweza kufuta tabaka graphic na tabaka nyeupe wewe tu kuundwa. Weka tabaka mbili za umbo tena. Sasa kuchagua safu ya juu ya umbo - hii ni ambapo uchawi hutokea! Bonyeza kitufe cha kuongeza Layer Style na kuchagua Stroke. Kutoa mipangilio ifuatayo (kama mipangilio yoyote si zilizotajwa hapa, inamaanisha kwamba wanapaswa kushoto katika maadili yao default): Hii itaunda mstari nyembamba nyeupe ambapo 'enamel' hukutana na chuma nyuma sahani. Chagua Pattern Overlay na kutoa mipangilio ifuatayo: Chagua mpya 'pattern' umefanya kutoka menu popup. Picha yako inapaswa kuonekana katika nafasi hasa ambapo wewe kuundwa. Kama ni nje ya kituo unaweza hoja yake karibu na nafasi bora wakati muundo Overlay Layer Style sanduku mazungumzo bado ni wazi. Chagua Gradient Overlay. Tumia maadili haya: Kisha bonyeza gradient kufungua Gradient Mhariri. Kuunda gradient na kijivu kuchanganya katika nyeupe kama inavyoonyeshwa hapa chini. Sasa, tunaanza na picha ya 3D. "Kuchagua ""Bevel na Emboss"" na kuweka: ""Mchanganyiko halisi"" hutoka na kuweka ya ""Nyeusi ya Ndani"" - chagua sasa na uingiza maadili haya: Hii inatoa badge ya kioo ya kupendeza ambayo hata curves chini vizuri kwenye kingo ili kuongeza athari ya 3D." Mara baada ya wewe ni furaha na mipangilio yote, bonyeza OK - na sisi ni kufanyika!