Sunday, December 8, 2019

adobe photoshop - Creating a transparent sphere for highlight, shadow


the image for explanation


Image 1 is called highlight and 2 is shadow.


I came across them while searching for game effects.


As explained in the image, one is screening, the other is multiplying, making the base blue sphere look like an orb.


I've been trying to re-create image 1, 2 in a way that suits my taste but, all my efforts were for naught. It is beyond the reach of my knowledge and I'd like to get some help from more experienced people for how to create transparent spheres like them.


The only software I can manage to use is Photoshop. But please, you don't have to restrict your solution. If you can solve it via any other software, then I'll look for that as well.



Thanks.


p.s.:


highlight.png - 210x210


This is image 1 in original resolution for your inspection.


UPDATE:


To prevent any misleading, I'll add more info.


I'm asking about how to create image 1, 2. Not how to make a result using image 1, 2.


I'd like to ask how you would create images like 1, 2?



Answer



Old school....



It's possible to use Photoshop by laying out tonal values on a square canvas, then using Filter > Distort > Polar Coordinates > Rectangular to Polar


Paint areas of dark and light then the distort filter will create the "orb" or sphere. It takes a bit of experimentation before you get the hang of it.


enter image description here


I've painted everything on one layer here, but you can use multiple layers then merely create a Smart Object or merge the layers before running the filter. Or, repeatedly run the filter with the same settings on multiple layers.


Running Filter > Distort > Polar Coordinates > Rectangular to Polar essentially distorts the pixels by stretching them around a center point. Pulling to top center into the middle of the canvas.


enter image description here


So, after running the filter you end up with sort of an "orb":


enter image description here


You can use multiple layers for highlights and shadows:


enter image description here



Then merely run the Polarize filter on each layer:


enter image description here


Essentially...



  • The bottom edge of the square will be the outer edge of the orb. A hard edge near the bottom helps to better define the final result. The further offset the hard edge at the bottom is, the further the orb will be offset from the edges of the canvas when it is created.

  • The left and right sides will ultimately meet at the top. So keeping the sides as "tillable" or visually similar will assists in avoiding a seam at the top of the orb.

  • The top edge of the square will ultimately be the center of the orb.


It takes a little experimentation but it's not that difficult to gage where things get "stretched" to.


It can also be handy to convert all this to a Smart Object and then apply the Polar Coordinates filter to the Smart Object:



enter image description here


Then edit the Smart Object Contents. This can help show results as things are edited merely by saving the SO contents:


enter image description here


Combine this with Filter > Distort > Spherize on another layer, and some additional layers for "sweetness", and you can get a pretty decent appearing shadow/highlight overlay.


enter image description here


enter image description here


Note that none of the layers in this file use any blend modes. All layers are set at Normal and only their opacity is altered.


All those additional layers could further be combined into a new smart object, leaving a single smart object layer to use as an overlay.


enter image description here





Full disclosure: This technique comes from a time long ago before Photoshop had any 3D capabilities. So, it would not surprise me at all if this could be done much faster and easier using Photoshop's built in 3D features. That's merely not an area of Photoshop I've not felt the need to dive into yet.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...