Browsing articles from "January, 2013"
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 […]

Jan
13
2013

Tropical Paradise Demo to Unity 4.0

Old Unity Island Demo Project To Unity 4.0 *2021: Check this repo https://github.com/mstevenson/UnityIslandDemo ** unity 2022 LTS: https://github.com/Jocyf/IslandDemo Download project from : http://unity3d.com/support/old-resources/example-projects/islanddemo *link seems to be broken** new link: http://www.mediafire.com/file/288o87oo8aejjyn/IslandDemo.zip Unzip it Open project Upgrading.. Yes Fix now.. Yes Fix now.. Yes Open islands […]

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

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.