Browsing articles in "Unity3d"
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 […]

Oct
10
2012

How to use Stopwatch in javascript

With stopwatch you can check how long some function takes.. More info: http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx

Oct
10
2012

Flood Fill Algorithm

Converted this c# flood fill algorithm to unityscript. Using list, instead of that queue thing and modified it to work with grid array, instead of bitmap colors.. Bit too slow, if I want to try big grid.. maybe 4096×4096. (wont be using setpixel on that, […]

Oct
6
2012

360 Panorama Reflection Shader

Tried to convert this webgl shader to unity.. but its not working yet. Webplayer: http://unitycoder.com/upload/demos/360ReflectionShader_unity/ (v2.0) Download Source: (webplayer scene) 360panoramaFakeReflection.unityPackage Source v1.0  (broken): – Can anyone spot what could be the problem..or are the textures just wrong? I have no idea about those matrix […]

Oct
6
2012

Radial Blur Shader

Using the same godrays shader, you get nice radial blur effect for images. This one is also modified to use objectUV, instead of screenUV, so you can rotate the plane around.. Webplayer: http://unitycoder.com/upload/demos/Radial_Blur_shader_unity/ *webplayer broken in current unity webplayer version? Shader source:

Oct
2
2012

Fake Godrays Shader

Godrays shader on a plane texture.. since no RenderToTexturein indie. ( Converted to unity from this webgl shader) Should try it as a camera shader also.. Features: – Adjustable values: effect xy position, exposure, decay, density, weight, clamp,  samples (screenshot is using 100 samples) Webplayer: […]

Sep
30
2012

Marching Cubes Voxel Terrain

Marching cubes terrain sculpting v2.0 (this is also based to the earlier webgl port) Current Features: – Can add / remove ground – Special shader for blending materials (based on world Y) – Moved raycasting to camera, can add multiple chunks (but they are not […]

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