25
2017
Mesh Exploder (sources)
Uploaded sources for the old mesh exploder project https://unitycoder.com/blog/2013/08/02/poor-mans-mesh-exploder/ download project: https://github.com/unitycoder/SimpleMeshExploder
27
2017
Using ImageMagick with Unity
Using ImageMagick with Unity is now possible with the .NET wrapper (github) Tutorial: Add watermark to image – Download required DLL files from https://magick.codeplex.com/releases/view/630360 (I used Magick.NET-7.0.4.400-Q8-x64.zip) – From the zip file, copy “net20\Magick.NET\Magick.NET-Q8-x64.dll” into your Unity project Assets/Plugins/-folder – From the zip file, copy […]
22
2017
Load AssetBundles with Caching
Small sample script to load assetbundles. Features: – It first loads bundle hash from the manifest file on server – Then uses that hash string as asset bundle loader parameter (to use cached version if available, see docs) – Instantiate gameobject after loading source: https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/AssetBundles/AssetBundleLoader.cs […]
14
2017
[Shader] Draw World Space UI Always On Top
If you want to draw UI in VR (for example Google Cardboard), it doesn’t support ScreenSpace rendermode in canvas.. So all the UI’s are using WorldSpace RenderMode.. which causes issues when UI goes behind geometry. Fix: You can modify UI shader to disable ZTest Shader […]
29
2016
Advanced Voxel Terrain
Another version of the old marching cubes terrain, this one has more features.. See images #3-7 in the old post : https://unitycoder.com/blog/2012/09/30/marching-cubes-voxel-terrain/ todo: – Should convert this to c#, then do some cleanup.. – Add more info/instructions sources: https://github.com/unitycoder/VoxelTerrainAdvanced
24
2016
Voxel Terrain
Uploaded the old source for the marching cubes voxel terrain package (from https://unitycoder.com/blog/2012/09/30/marching-cubes-voxel-terrain/ ) Replaced the old shader with unity 5 compatible version, also should convert the .js into c# someday.. *Note: its now converted, thanks to “SimpleRookie” (see comments below) Instructions: – R = […]
10
2016
[LudumDare37] One Room
Some progress in the LD37 jam, see webgl demo below! Screenshot above is showing grid movement and enemy cube following the player.. Current idea is – Small single dungeon room that you have to survive and do *something*..? — WebGL player: https://unitycoder.com/upload/demos/LD37/webgl/ LD Entry: http://ludumdare.com/compo/ludum-dare-37/?action=preview&uid=27533 […]
28
2016
Wireframe Shader
Founded some mesh wireframe shader in the unity 5.5f2 builtin shader folder (builtin_shaders-5.5.0f2\DefaultResourcesExtra\VR\Shaders).. Changes: – Added fillcolor, outline color – Added [x] Discard option (draws only lines) – Removed stereo rendering keywords – Removed color by distance thing Download shader: https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Effects/WireFrame.shader Tip: You can […]
22
2016
Publish .ipa file from Windows PC to iOS without Mac
With Unity Cloud Build service, you can create iOS apps, without ever needing Macintosh+XCode! First steps – Register as an Apple Developer : https://developer.apple.com/programs/enroll/– Join Unity Cloud Build (if you haven’t already) : https://unity3d.com/services/cloud-build– Follow cloud build instructions there, its quite simple to setup iOS […]
18
2016
New Domain name 1darray.com
Due to Unity Affiliate rules, I cannot use unitycoder.com if I want to place affiliate ads here.. (since it contains word ‘Unity’) So, for now the new address is http://1darray.com (doh..didn’t find any good available domains so far..: ) Old domain will still redirect here, […]
Recent posts
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)