Browsing articles from "March, 2012"
Mar
27
2012

Shadow Casting + Convex Hull = More Fake Shadows

Combine Simple Shadow Casting & Monotone Chain Convex Hull and you have…more fake shadows for unity indie!!1 Works fine for a box..should try the teapot next. Details: – Calculate vectors from the light, through every vertex in target object,  lengthen the vector until reach ground […]

Mar
26
2012

Monotone Chain Convex Hull Algorithm

Finally got atleast some 2D convex hull algorithm working.. this one is converted from those Java & Python versions. Converted the java version first and it kept giving strange results, then took the sub() from python and it worked rightaway.. Now can try this for […]

Mar
25
2012

Fake Shadow Ideas: Using Particles as Light Photons?

This is quite an early test.. what if you use particles as “light photons” ? Then no need to do raycasting? Current features: (main screenshot) – Shuriken particle system, Shape: Cone, angle:90 – Collision planes on those white boxes (uh..shuriken doesnt support “world collisions”, only […]

Mar
24
2012

The Return Of The Fake Vertex Shadow

Yay..more realtime fake shadows, using similar technique like this old fake vertex shadows test Features: – VertexLit shader with texture – Linecast each vertex towards light, if we can reach light, then lets shine, otherwise stay dark.. – In the webplayer, 15 vertices are scanned […]

Mar
20
2012

Clouds using Particles

Testing clouds with particles (after seeing this: “Clouds – mr.doob“) If you look at the source, it seems they are using 8000 planes and custom shader (should be easy to port in unity..) Problem with particles is that they start to turn near camera, as […]

Mar
18
2012

Texture Paint with Soft Brush

Now that the Android Basic is free, trying to make a simple multi-finger painter program as a test.. Current features: – Orthographic camera, with full view sized drawing plane (see forum: Creating plane of dynamic sizes) – Special shader that uses that drawing texture as […]

Mar
17
2012

Explosion Lava (?) Shader (test)

Uhm..failed. This was supposed to look like explosion (as in this pdf: GDC2012 Unity+DX11, page 62) well..atleast founded a simple way to create lava textures: http://www.photoshopatoms.com/effects/creating-a-lava-texture-from-scratch/ Its just a highres sphere, with animated vertex extrude shader.. Webplayer: http://unitycoder.com/upload/demos/ExploBallShaderTest1/ Download source: mExploBallScene.unityPackage Images used in the […]

Mar
15
2012

Fake Realtime Shadows With Surface Shader

Yes! After several hours of shader errors, finally got this working, fake realtime shadows using shader (2D) Its using obstacle map texture (see image#2), so thats the 1st downside of it, but still better than nothing.. More info later.. Ideas to try: – Blur the […]

Mar
10
2012

Fake Illumination Based on Object Texture Color

Testing how it would look, if objects “illuminate” light around them (using colored lights), based on texture colors.. Version#1 (info) – On startup, script goes thru target object vertices, triangles, normals, uv’s and creates colored lights – Currently using point lights, should be better with […]

Mar
6
2012

Camera Shaders

yay..took few hours just to get this working: Render a whole camera view with one shader. It should be simple, but the documents wont give any examples: Camera.RenderWithShader Main image is showing vertex-depth-shader seen with camera (its modified version from one of these unity replacement […]

Pages:12»

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.