Search found 41 matches

by GarbagePillow
Thu Dec 13, 2012 3:12 pm
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128604

Re: Pixel art with GLSL cel shade lighting concept

I'm sorry..I still don't get this..(I am very new to any kind of graphic design-type stuff) Generating the normals & the 2d (first) image are fine, but I am having trouble with the 3rd 'greeny/yellow' AO image. In wings3d I can export with the shader 'sperical ambient occlusion' as a grey shade...
by GarbagePillow
Mon Dec 10, 2012 4:16 pm
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128604

Re: Pixel art with GLSL cel shade lighting concept

Hey, those videos look beautiful. As for casting shadows, the simplest solution is to not do it. Cast shadows from moving lights can become a bit distracting. You could just cheat and have a shadow texture that you draw below an object. The technique done in Monaco and Helsing's Fire is one solution...
by GarbagePillow
Sun Nov 11, 2012 9:55 pm
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128604

Re: Pixel art with GLSL cel shade lighting concept

TylertheDesigner wrote:I would probably do exactly that, but I wanted to make sure you weren't protecting this style for your own use.
I am going to see what I can do about making it a little more modular, I'll post here with any changes I make.
Great :)
by GarbagePillow
Sun Nov 11, 2012 8:13 pm
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128604

Re: Pixel art with GLSL cel shade lighting concept

I'm not really sure how the whole licensing thing works. Do I just put out another version with the MIT license at the top of all the source files? People are certainly welcome to use the code, though it isn't really designed as a module or anything, and might just be better to make your own version...
by GarbagePillow
Sat Nov 03, 2012 10:46 pm
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128604

Re: Pixel art with GLSL cel shade lighting concept

For anyone interested in hand painting normals, one thing you can do is make an image that you can color-pick on, an image that shows you how the colors correspond to normals. Heres one I did that has faces at 90 degrees, 45 degrees and some at 22.5 degrees as well.
normals_picker2.png
normals_picker2.png (9.53 KiB) Viewed 12938 times
by GarbagePillow
Mon Oct 22, 2012 3:19 pm
Forum: Libraries and Tools
Topic: A tiling technique demo
Replies: 5
Views: 4914

Re: A tiling technique demo

Interesting post and articles. I'm working on the same problem currently. Here's another, more game-oriented article on the subject. http://www.codeproject.com/Articles/106884/Implementing-Auto-tiling-Functionality-in-a-Tile-M Good article. One difference between techniques is here: Variety Despite...
by GarbagePillow
Sun Oct 21, 2012 5:53 pm
Forum: Libraries and Tools
Topic: A tiling technique demo
Replies: 5
Views: 4914

A tiling technique demo

Hey fellow Love2Ders, :) wd6Mz.png Let's say you have a game with tiles, but the tiles are generated dynamically by players (like in Minecraft or Terraria). Any tile can be next to any other. Creating tilesets that have baked in transition tiles would be a combinatorial explosion. One solution is to...
by GarbagePillow
Mon Oct 15, 2012 4:05 am
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128604

Re: Pixel art with GLSL cel shade lighting concept

Helvecta wrote:Holy crap. This has inspired me to drop everything I am working on and learn all about shaders immediately!

This is incredible. Bravo. :ultraglee:
Hey thanks a lot. :) It's actually not that hard to learn.
by GarbagePillow
Sun Oct 14, 2012 4:13 pm
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128604

Re: Pixel art with GLSL cel shade lighting concept

frpnit wrote:Thus, it could be easier to be done for people that can't / doesn't know 3d modeling (me :P), or for a large amount of tiles and sprites.
Yes. :)
by GarbagePillow
Sun Oct 14, 2012 3:02 pm
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128604

Re: Pixel art with GLSL cel shade lighting concept

Well that's weird. Thanks for attaching it Nixola. That is a good technique. It is essentially bump mapping. Another way to do it would be to generate the normals from the bump map with a pixel shader. http://http.developer.nvidia.com/CgTutorial/cg_tutorial_chapter08.html explains how to do that. I ...