Browsing articles in "Unity3d"
Apr
21
2017

Using SharpNav with Unity

Noticed this SharpNav repository (Advanced Pathfinding for C#) at https://github.com/Robmaister/SharpNav Since new unity versions support .NET 4.6, this should work in unity too, the sample script below runs, but not sure how to access the navmesh or navigation features.. Instructions: – Download SharpNav https://github.com/Robmaister/SharpNav – […]

Mar
25
2017

Mesh Explorer (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

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

Pages:1234567...37»

@unitycoder_com

Subscribe to Blog via Email

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