Browsing articles in "Unity3d"
Feb
27
2013

Rusted Metal Shader From Blender

Converted this Blender rust material shader to Unity surface shader, looks ok.. Created the bumpmap in unity editor (copy rust texture, convert to normal map from grayscale), had problems trying to do it inside shader (from diffuse texture to o.Normal).. Progress: – Founded some info […]

Feb
21
2013

Terrain test (2)

New terrain test (looks better than the old terrain test). Still problems creating a splatmap in world machine (it becomes overbright >1), havent found any tutorial how to do it automatically in wm2 – searched the whole internet (twice). This version almost works, some color […]

Feb
15
2013

RAIN{indie} AI: Simple Waypoints Tutorial (1)

Made a small tutorial pdf while testing RAIN{indie} AI system. (its free and works with unity indie!) Going to try to implement it on the perlin dungeons later and have to try rest of the features too (like navmesh). Goal of the tutorial was to […]

Feb
5
2013

First impressions using UnityVS

Been using UnityVS some days now (only for simple scripting), heres few notes about it. *adding more notes later. (you can get a free trial version from here) UnityVS+VisualStudio2010+Unity4 Good Stuff: – Real autocomplete! (for unityscript also!) – AutoComplete. – Autocompl… yes, it saves a […]

Jan
31
2013

Fake SpotLight Shadows

Testing one idea for fake spotlight shadows. In the image, spotlight is at the wall, cylinder column is there to block light. (shadowmap size 1024×1024) Current version info: – Have to build the shadow texture manually..(later should be possible to do it all in script) […]

Jan
27
2013

Realm Of ..Something.. (proto)

Small test “game”. Using cave created with PerlinDungeonMaker (not created runtime, it was saved as a mesh) Mainly inspired from: rotmg See the PerlinDungeonMaker page for more details. TODO: – How to setup monsters..? (Current favourite: Random spawners that activate when player is near) – […]

Jan
26
2013

Save Mesh Created by Script in Editor PlayMode

Saving meshes (which were created by script)  in editor playmode was surprisingly simple, http://docs.unity3d.com/Documentation/ScriptReference/AssetDatabase.CreateAsset.html   Updated version: This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden […]

Jan
24
2013

Perlin Dungeon Maker

Perlin noise generated dungeons / caves! (w.i.p) Webplayer: http://unitycoder.com/upload/demos/PerlinDungeons1/ (v1.0 : some bugs in webplayer build: floor & roof normals / tangents broken?, minimap is broken..) Current version info: – Creates 2D texture and array with perlin noise (not needed, since you could check x,y […]

Jan
20
2013

Fake Circular Shadow Casters

More fake shadow tests.. (currently works from one direction only) Info: – Lets say all of your shadow casting objects are spheres/circular, then we could calculate what area is not visible based on the distance & angle from the player to spheres (or so I […]

Jan
15
2013

Bounding Sphere for 3D Points

While looking into this 2D shadows topic, converted this BoundingSphere code to unity (actually it wouldnt need to be in 3D..) This could be also useful for creating & resizing sphere colliders.. It resizes the sphere, so that all the vertices fit inside. (for some […]

Pages:«1...31323334353637...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.