Jul
19
2016

Decode QRCode with ZXing.net + Unity

Simple example to decode QRCode from texture image. – Download XZing.net from http://zxingnet.codeplex.com/ – Unzip, Copy zxing.unity.dll from Unity/ folder into your Unity project (create Plugins/ folder and place the dll there) – Download some QRCode image, like: http://vrbox.in/wp-content/uploads/2015/11/QR-Code1.jpg – Create new script (see source […]

Jul
5
2016

Android: MissingMethodException: Method not found: ‘Default constructor not found…

Suddenly started getting these error messages on device (build worked fine otherwise, but tcp socket stopped working) You can view device log with command line> adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG Solutions: – Use IL2CPP build instead of Mono2x – Or, set Stripping […]

Jul
4
2016

Unity Forums Maintenance 24hrs

24hrs downtime oO, oh-no.. what to do in the meantime? – Watch new Unite Videos : https://www.youtube.com/user/Unity3D/videos – StackOverFlow Unity : http://stackoverflow.com/search?tab=newest&q=unity3d – Try the new 2D Preview build, tilemaps are fun : http://forum.unity3d.com/forums/2d-experimental-preview.104/ – Coding challenges: https://www.codingame.com/ , https://www.hackerrank.com/   #sadpanda #fails Vote here to revert […]

Jul
3
2016

Fake Tube Light Shader

Tried to test idea about tube lights (or “line light”), by using custom lighting in shader, you could sample the light several times from different positions/angles, so that it looks like the light is not just a single point. (not really working here properly yet, […]

Jun
26
2016

Unlit Fake Curved World Shader

Tried to get world position from depth texture, but it didn’t work.. then founded COMPUTE_DEPTH_01 instead, makes nice curve effect when applied to meshes (pushing the y vertices down based on depth).. although breaks a bit depending on camera rotation/position.. Shader source: https://github.com/UnityCommunity/UnityLibrary/blob/master/Shaders/Vertex/UnlitFakeCurved.shader without curve-shader: […]

May
30
2016

Unity 2D Experimental Preview Features Build

Unity 2D Experimental Preview! (anyone can download no need to have pro license) New features: – TileMap Editor!!1 – Some other stuff.. Download: http://forum.unity3d.com/threads/2d-experimental-preview-release-1.407658/ *Note: If you downloaded right away after this post was published, there is newer download available: http://beta.unity3d.com/download/c7f3e0da1010/UnityDownloadAssistant-5.5.0a1.exe old version was : […]

May
4
2016

[$250 Bounty] Build this scene in Unity

Lets try something new, I’ll offer 250usd bounty to whoever makes the best 3D scene based on this image above, using Unity. *Scene should be 3D, you can use mesh instead of terrain, no FPS limit (so it can be heavy scene with lots of […]

Apr
17
2016

[LudumDare35] ShapeShifter

Unfinished ludumdare entry, planned to make some cellular automata/game of life – shapes fighting against player, but didn’t have time to take part this time, got only this far in few hours: Play here: (webgl only) http://ludumdare.com/compo/ludum-dare-35/?action=preview&uid=27533      

Mar
27
2016

Shmup Bullet Pattern Editor

Started converting this old bullet pattern script by dhendrix from unityscript to c# and using 2D features.. *still work-in-progress* You can access the sources below (and post issues, or help translating/optimizing the scripts) Sources: https://github.com/unitycoder/BulletPatternEditorUnity

Mar
23
2016

Volumetric Image Effect Shader

  Converted this old godrays shader ( http://unitycoder.com/blog/2012/10/02/fake-godrays-shader/ ) into image effect – interesting results! (see video below)     Source codes below (Attach script to main camera) Scene has just few spotlights, particles, and 3d objects.. — References: Image effects tutorial – http://www.alanzucconi.com/2015/07/08/screen-shaders-and-postprocessing-effects-in-unity3d/

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.