I have a 1x1x1 cube made in Blender with a simple UVW mapping. It represents a 3D platform of variable size.
The thing is that this cube gets resized a lot, and I want to draw a "border" of a fixed-length on each cube.
Another problem is that I am using Static Geometry, so I have to use a shader (I am using openGL, so I have to use GLSL).
So far I made this (note that the second platform is big, so it has larger borders):
What would you recommend to achieve this effect?