Browsing articles in "Unity3d"
Sep
29
2016

Using XBox One Kinect with Unity

  *main image: Kinect GreenScreen example scene Setting up Kinect with Windows 10 – connect to pc (using adapter) – Driver installs automatically and you are Done 🙂 – You can test it with these apps: 3d scan: https://www.microsoft.com/en-us/store/p/3d-scan/9nblggh68pmc 3d builder: https://www.microsoft.com/en-us/store/p/3d-builder/9wzdncrfj3t6   Using Kinect […]

Sep
28
2016

Add Custom Explorer Context Menu Item for Opening a Folder as Project with Unity

You can add custom context menu items into Windows Explorer (more info), so you can create custom menu item that opens the current folder as a project in Unity. (it will still warn you about project version if its different) Example RegEdit file: *Note! you […]

Sep
17
2016

Easy Threading with ThreadPool

Want to use simple threading? ThreadPool seems like an easy solution. Source: (c#) https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Threading/ThreadPoolTest.cs

Sep
16
2016

Grayscale Image Effect with Exclude Layers

Testing grayscale image effect with added ExcludeLayers option (*just took the script parts from CameraMotionBlur effect, since it supports excluding layers) Instructions: – Attach the script below to your camera *You need to import default effects package first (Assets/Import Package/Effects) – Select excludeLayers (by default […]

Sep
16
2016

Custom Sprite Bloom HDR Shader

Tried to do this shader mentioned in the forums (link), to have a Bloom image effect only on certain sprites. See main image^ 2 same sprites, different material, so only 1 gets bloomed (even though the Bloom is full screen image effect) Instructions: – Download […]

Aug
20
2016

Sprite Shader with Clip() *Discard pixels

Testing what happens if add clip(discard), remove transparency and remove color tint from default Sprite Shader.. Just wanted to see if there is big difference or not, but seems like no huge difference on PC (asus laptop, gtx970m), unless you have thousands of sprites on […]

Aug
14
2016

Train Station Scene

Tried to re-create this Autodesk Stingray scene in unity using only primitives, substance materials and image effects: http://forum.unity3d.com/threads/can-unity-duplicate-the-look-of-stingrays-subway-example-including-the-real-time-reflections.425727/ Video clip:    

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

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

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

Pages:«1...11121314151617...49»

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.