9
2016
Shader Z-Fight Offset
(screenshot with Quad mesh placed on top of Plane with raycast hit.point) If you want to use Raycast hit.point to place quad on a flat surface, it will most likely create Z fighting issue.. You could add position offset by hit.point+Vector3(0,0.1f,0), Or use modified shader […]
4
2016
Shader error: cannot map expression to vertex shader instruction
Had a strange looking error today: Turns out it was just that the function which was called inside vertex shader, was below the vertex shader, so just moved it above the v2f vert (appdata v) and it works.. *Actually it was more complicated: This one […]
24
2016
Enter Play Mode with F5 key
Woaaah! Been waiting for this feature since VB5.. to have unity enter playmode with F5 key! *Same key can be used to stop play mode also Founded pretty much ready script from unity answers, removed the secondary shortcut and added check for if in playmode, […]
23
2016
Using RenderDoc with Unity (graphics debugger)
“RenderDoc is a stand-alone graphics debugging tool” Getting Started – Download standalone https://renderdoc.org/builds – Install it – Start Unity 5.3 or later (I tested with 5.4beta.f2) – Right click over the Game- or Scenewindow title, RenderDoc option should be displayed in the menu, Select it […]
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: – Create new script (see source below) […]
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 […]
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 […]
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, […]
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: […]
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 : […]
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- 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
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on