Jan
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 […]

Jan
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 […]

Jan
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 […]

Dec
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 : http://1darray.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

Dec
24
2016

Voxel Terrain

Uploaded the old source for the marching cubes voxel terrain package (from http://1darray.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 = […]

Dec
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 demo: http://ludumdare.com/compo/ludum-dare-37/?action=preview&uid=27533 — Issues encountered […]

Nov
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/Shaders/Effects/WireFrame.shader   Tip: You can […]

Nov
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 […]

Nov
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, […]

Nov
4
2016

Using Accord.NET with Unity

While looking for Harris Corner Detection examples, without using openCV, founded this framework: “The Accord.NET Framework is a machine learning framework combined with audio and image processing libraries completely written in C#” Website: http://accord-framework.net Github: https://github.com/accord-net/framework *Note: There is updated tutorial here with images: https://github.com/accord-net/framework/wiki/Unity […]

Pages:«1234567...38»

@unitycoder_com

Subscribe to Blog via Email

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