Browsing articles in "Uncategorized"
Apr
25
2015

Creating car mirror with rendertexture

Creating simple car mirror using rendertextures. HOW TO – Right click at Project window, Create / RenderTexture – Rename “New Render Texture” into something else, like “MirrorRT” – Drag & Drop “MirrorRT” into 3D object (preferably some flat object) at scene view (it automatically creates […]

Apr
15
2015

Unity 5 build: DirectToDrift not starting Oculus

Struggled few hours trying to run oculus exe, Oculus wouldnt turn on (no blue light) when DirectToDrift exe was run. Using Unity5.0.1 (64bit), win7 and Oculus 0.5.0.1-beta unitypackage. Solutions: – Disable “[ ] Show Unity splash screen” from Player settings / Splash Image *If its […]

Oct
30
2014

Unity5 Tips & Tricks

Collecting links to Unity5 related tips & tricks. Please note that many things could change in the coming versions.. (Feel free to post comments if you find some more tips) > Unity5 Upgrade guide (docs) LIGHTING, GI & BAKING – Slow terrain baking? (forum link) […]

Oct
28
2014

Oculus DK2 + Unity Indie

Oculus now works with Unity Indie (free) also! (For example using v4.5.5) Quick start: Register as Oculus developer – https://developer.oculusvr.com/   Connecting the device – Quick start guide: http://static.oculusvr.com/sdk-downloads/documents/DK2_Quick_Start_Guide.pdf – Install Oculus runtime from: https://developer.oculusvr.com/?action=dl – Usually need to restart computer after it’s installed – […]

Oct
12
2014

2D Visibility / Shadow

Started converting this 2D visibility/light script ( http://ncase.me/sight-and-light/ ) to unity, finally some progress! btw. lines are drawn using GLDebug from : http://www.unity3d-france.com/unity/phpBB3/viewtopic.php?f=24&t=5409 Unity forum thread: http://forum.unity3d.com/threads/2d-visibility-shadow-free.275698/ — TODO: – Quad segments are currently crossed.. – Fix mesh generation *Temporary fix:  insert extra boxes outside […]

Feb
10
2014

Shadow Casting 2D

Another fake shadow test.. (similar to the old raycast version, but should work with Physics2D). *This is currently abandoned.. See also: http://unitycoder.com/blog/2014/10/12/2d-visibility-shadow-for-unity-indie/ Info: – Testing PseudoAngle to sort object positions Todo: – Take shadow caster PolygonCollider2D vertices, check which one are visible to play – […]

Feb
3
2014

River Mesh Generator

Testing river mesh generation, idea is from forum topic: http://forum.unity3d.com/threads/225561-Is-there-any-way-to-have-a-river-flow-without-flow-maps?p=1502875 Webplayer: http://unitycoder.com/upload/demos/RiverMeshMakerUnity/ Features: – Start point, length, width, segment length, adjustable x-position (middle of the river), in the screenshot using Mathf.Cos(#) – Each piece/segment has UV (0,0 to 1,1) so can scroll the texture to […]

Aug
11
2013

Scorched Earth Terrain (wip)

This is another thing that i’ve always wanted to try in Unity, Scorched Earth deformable collapsing terrain (youtube link). Ideas: 1 – Using SetPixels() with texture would most likely be easiest, just slow on bigger resolutions (but no need high resolution for this anyways?) 2 […]

Jul
22
2013

Unity 4.2!

*Unity 4.2 splash image (took few tries to catch it with printscreen..Oo) Download: http://unity3d.com/unity/download/archive Whats new: http://unity3d.com/unity/whats-new/unity-4.2 Most interesting on first look (for me at least) – Free Basic licenses – Free directional light shadows (one directional light only; hard shadows only) – Shuriken: Collision […]

Apr
7
2013

Basic Illumination Model C#

Converted this script to unity: Basic Illumination Model by andalmeida. Problems / info: – Converted most of the values to floats.. because Mathf.Max() didnt like doubles.. i guess could had made some extension to it.. (maybe thats why there are some artifacts) – Specularity didnt […]

Pages:«123456»

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

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