Browsing articles from "October, 2012"
Oct
29
2012

2D Raycasting Visibility – Voxel Travelsal

Converted this AS3 2D raycast (by Lee Grey) to Unity javascript. (Image: raycast is coming from the middle, hits a wall..) Next: – Use grid array instead of reading pixels from image.. (done) – Try if this is faster compared to the old Raycast visibility […]

Oct
26
2012

Simplex Noise

Converted this javascript noise to Unity js. It feels quite slow.. maybe trying to convert these noise generators next. Webplayer: nothing to see.. Source: (SimplexNoise.js) #pragma strict // http://stackoverflow.com/questions/8405526/javascript-simplex-perlin-noise private var size:int = 512; private var p:int[];// = new Array(size); private var permutation:int[]; private var […]

Oct
25
2012

Radar Shader

Converted this shader to Unity. (again didnt came out the same as the original..but almost) Webplayer: http://unitycoder.com/upload/demos/radar_shader_unity/ Shader Source: // original shader: http://glsl.heroku.com/e#4190.1 // converted to unity – mgear – http://unitycoder.com/blog Shader "mShaders/Radar1" { Properties { tex ("Texture (RGB)", 2D) = "white" {} resolution("resolution", Vector) […]

Oct
22
2012

Qix Prototype

Qix test : Qix (wikipedia), See gameplay video on c64 (youtube) Using the same c# floodfill from here (comments section). Diagonal movement not allowed (using part of this script from unifywiki) Still missing collisions, enemies etc. Just 1 bigger problem to think about: – How do […]

Oct
21
2012

Trajectory Test Scene 2.0

Using trajectory script from unity answers, this is a test for the Rampart prototype.. Would be nice to add the trajectory preview line also (I think I’ve seen that in the forums..) and some randomness or wind? Red target mark is light projector, with custom […]

Oct
18
2012

Voxel Resources & Engines for Unity

Making a list of Unity3D related voxel / marching cubes tutorials, engines, demos etc. (image on left is from wikipedia) (Feel free to comment if some useful links are missing) *First: Go vote on Unity Feedback to get Voxel Terrains FREE VOXEL ENGINES OR DEMOS […]

Oct
17
2012

Fake Motion Blur Shader

Some quick test for making fake motion blur shader with unity indie.. (or more like a trail..would need to blur other parts also?) Currently its creating the “trail” based on distance.. (using velocity would make a difference?) Warning, Huge Limitations: – Shader example doesn’t have […]

Oct
16
2012

Fake Blur Ideas for Unity Indie

Lets say we have a single colored mesh like in the image above and we want to blur it (with unity indie..).. Ideas to try: Glow effect shader? (no glow in indie..but can have something similar, doesnt work with planes yet..) Take screenshot of the […]

Oct
16
2012

Fake Glow Effect Shader

Interesting fake glow shader for unity indie (its based on unity builtin shaders). (Right image has some linear fog enabled) Features: – Adjustable glow range, glow color, glow alpha – Only works well on spheres.. Problems: – Currently it only works when viewed from a […]

Oct
14
2012

Rampart Prototype

Basic “seed fill” is now working (see the link for some info). Idea is to make small Rampart style test game. – Using alexzzz’s c# fast floodfill (see previous post comments section for source) – Area is now checked everytime you paint a pixel, if […]

Pages:12»

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.