Skip to main content

Posts

How to make neon light signs in Unity 3D

As part of my game, I was trying to create a whole apartment like environment. I decided to call it a motel instead. So I had to put a sign saying it's a motel( how else would people know right? ) To create the simple glowing text you need text mesh pro. It's available in Asset Store as well as in Unity Package manager. Inside Unity, go to Window > Package Manager and search for text mesh pro. Now go to Game Object > 3D Object > Text Mesh Pro Text Now enter whatever text you want and select distance field shader in text mesh pro inspector tab. See image below. Once selected you'll be able to see a number of settings under shader and can enable glow from there. I'd recommend playing with numbers here to suit your scene.  Now that you have your glowing text if you want more you'll notice they seem to be using the same shader which will cause a problem if you want glow signs in different colours. For this, we need to creat...

Making Sensor Lights in Unity 3D

Lighting in Unity 3D can some times get tricky. I just spent hours into making sensor lights only to come up with a very obvious solution. At first, I was using baked maps which were the primary reason for my trouble. I know it's kind of obvious but I need to state it for anyone who is struggling with the same. Don't use Baked Lightmaps if you want real-time illumination. As simple as that. I even considered lighting up the environment by real-time switching different lightmaps. Thanks to the complexity of such task I didn't do it. Finally, the solution was to use simple point lights. To give the lights better look I used emissive materials. Here are the results.         Here's how I did it. Created an empty Gameobject Light Controller and under that created two small cuboid, LightsOn and LightsOff and a point light called Bulb here. Added a box collider in Light Controller and ticked Is Trigger .   Here's the script attached to the Light...

CODA Blogger template

I have decided to make some changes to this blog and the pages that run around here. For that reason, I'm moving the content of the Theme Download Page to a blog post. I have made significant changes to the CODA theme which are not yet reflected in the version available for download below. I'll soon make it available. Not too soon though. Until then feel free use, modify or distribute the blogger template below. Follow the instructions for easy usage,  click here .  CODA Basic 2.1  is free to use the Blogger template. You are free to remove the footer link as well. Will be considered a generosity if you let the footer link remain. Download Change Log: -Added Footer. -Font changes. - Removed header navbar background. - Added Background Color. - Added Card style for posts. - Sidebar restructured. - Non-floating top navigation bar. Previous Versions: CODA Basic 2.1                 ...

Galaxy Fold is here Full Phone Specifications and dimensions

Samsung recently unveiled their new Samsung Galaxy Fold and it's as pretty and innovative as it's price. The 1,980$ phone will be made available for purchase in April of 2019. The phone will be featuring 2 AMOLED Display where one of which can be folded is called Dynamic AMOLED Capacitative display. Samsung Galaxy Fold with the Cover display of 4.6 inch Samsung Galaxy Fold with Dynamic 7.3 inch screen Full phone specifications are below. Dimensions: 17 mm thickness Size:  7.3 inches, 154.5 cm2 Weight Display &  Resolution : Dynamic AMOLED capacitive touchscreen, 16M colours 1536 x 2152 pixels, 16:10 ratio (~414 ppi density) and Cover display: 4.6 inches HD+ Super AMOLED (21:9) Chipset:  Qualcomm SDM855 Snapdragon 855 (7 nm) CPU:   Octa-core (1x2.84 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.8 GHz Kryo 485) GPU:  Adreno 640 Memory : Internal 512 GB, 12 GB RAM (No external memory card support) CAMERA:  Triple ...

Remove all Liked Videos on YouTube

Do you find a need to remove all the video you've ever liked?  Well, you can do it but let me first be clear here that there is no coming back. Once you remove all the videos from your Liked Playlist or whatever you call it, it's gone.  Now if that is clear to you, you may proceed to login to your YouTube account and click on Liked Videos link to the left of your screen. Step 1. Then click on the Edit button to edit your Liked videos playlist. From here on you can either manually remove any video from this playlist. Or if you want to just remove all of these videos follow the following steps. Step 2. Press F12 on your keyboard and go to the console tab. Step 3. Copy and paste the following block of code in the console. var items = $('body').getElementsByClassName("pl-video-edit-remove-liked-video"); for(var i = 0; i < items.length; i++){ items[i].click(); } Hit enter and the page will refresh. Now if you'll ...

How to transfer your Domain to CloudFlare

Cloudflare recently came into Domain Registrar Business and they're probably the best when it comes to pricing. Why? No markup. No surprise fees." That's right.  Apparently, there is not much of a service you need once you registered a domain and it pointing to right name servers.  Now in order to transfer your domain from a different registrar to CloudFlare, you need to open the dashboard on your current registrar and make sure there is no Registrar-Lock on your domain. Once confirmed you'll need to get an EPP Code which you'll be entering in the CloudFlare panel where you transfer a domain. Now when transferring a domain you need to make sure your domain is supported by CloudFlare. To check that head to TLD Policies by CloudFlare here . https://www.cloudflare.com/tld-policies/ For anyone concerned .in domains don't come in this policy yet. So if you're having trouble transferring a .in domain to CloudFlare there is no way to do it as of ...

Samsung Galaxy M20 and M10 GSMArena Full Phone Specifications

Samsung recently announced two new phones that'll target the budget phone market for them. Samsung Galaxy M20 will be sold starting at 10,990 Indian Rupees and Samsung Galaxy M10 will be starting at just 7,990 Indian Rupees. The sale will go live at 5th of February, 2019 at 12pm at Amazon.in Here are full phone specifications from GSM Arena on both the phones. Model Samsung Galaxy M20 Galaxy M10 Launch Announced 2019, January 2019, January Status Coming soon. Exp. release 2019, February 5 Coming soon. Exp. release 2019, February 5 Body Dimensions 156.4 x 74.5 x 8.8 mm (6.16 x 2.93 x 0.35 in) 155.6 x 75.6 x 7.7 mm (6.13 x 2.98 x 0.30 in) ...