Browsing articles in "Tutorials"
Oct
5
2019

Reading Minecraft World into Unity (using Substrate)

Quick test for reading Minecraft worlds into unity.Note: example code uses particle for each block, so it gets pretty slow. Compile Substrate.dll:– download this repository https://github.com/minecraft-dotnet/Substrate – unzip, open Substrate-master\SubstrateCS\Substrate.sln– Solution Explorer: Right click over Substrate (NET4), Set As Startup Project– Select Release (from the […]

Oct
1
2019

2 Pass Standard Shader with See-Through Wall Effect

Modified standard shader to make see through wall effect, with blurred texture and opacity. Shader source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/3D/Effects/Standard-SeeThroughWalls.shader

Sep
2
2019

Texture tiling broke, after importing material and texture from 2018.x into 2017.x (using unitypackage)

Imported some .unitypackage from 2018 into 2017 (to downgrade), and had strange texture issue with some part of the model.. took couple of hours to find out that material tiling had resetted to 1 (instead of 100 – duh!) and then also texture was not […]

Aug
18
2019

Read File from Oculus Quest /sdcard/ Folder

New 2023 (more limitations) “This is because the Quest OS v53 now uses Android 12, which limits the way apps can access storage. From the developers of Polysketch: – No Access— /sdcard/Polysketch/– Can create folders, but not files— /sdcard/Android/Polysketch/– Full folder & file creation— /sdcard/Android/Android/data/com.PolysketchLLC.Polysketch/files […]

Aug
9
2019

Deploy to Android device with wireless connection

Using windows Command Prompt: // check if your device is presentadb devices// get device ip address (see inet row) adb shell ip addr show wlan0// enable tcpip and portadb tcpip 5555// connect device (use your device ip address)adb connect 192.168.1.90:5555 Now you can remove usb […]

May
25
2019

Enable HDR Color picker for Shader or Script

I needed HDR color for some old Unlit/Color-shader, and for c# script also, found out that you can add this attribute for the shader: And for the script: More info:https://docs.unity3d.com/ScriptReference/ColorUsageAttribute.htmlhttps://docs.unity3d.com/Manual/SL-Properties.html Also make sure your Camera has [x] HDR enabled

May
12
2019

Using SharpCompress in Unity

If you need to work with zip/rar/tar/gzip packages, can use SharpCompress to handle opening or creating those files. Compile SharpCompress DLL (unless you can find it online somewhere) Download project https://github.com/adamhathcock/sharpcompress Unzip and open in VisualStudio (i used 2017) Security warning, press ok Security warning, […]

May
9
2019

Creating Single .EXE from Unity Build Files

Using Enigma Virtual Box https://enigmaprotector.com/en/downloads.html – Select input file name: (This is .exe file from unity build)– Enter output file name: (this is the output single exe file) *This MUST be same as the original .exe file name, so that data folder gets found.– Click […]

May
6
2019

Ray Marching

Tested ray marching in Unity after watching this episode of The Coding Train. Source code:https://gist.github.com/unitycoder/7120e492deba748dba3d4e1e424d3c2a Usage:Set camera to 0,0,-10Projection: OrthographicThen Place spheres under empty gameobject, with sphere z values at 0

Apr
25
2019

Simple Image Tracking AR Android app using Vuforia

How to build simplest possible android AR app in “few” steps. ( No coding at all! ) Download Unity 2018.3.x https://download.unity3d.com/download_unity/06548a9e9582/UnityDownloadAssistant-2018.3.13f1.exe Install with these 3 options selected: [x] Unity, [x] Android Build Support, [x] Vuforia support. *Visual studio might be listed here also, if you […]

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.