Blockland Forums > Suggestions & Requests
3D Bricks
Demian:
Port mentioned that using shaders to create the illusion of a 3D stud should work but I'm not so sure. Last I checked GLSL bump mapping was rather low resolution. I might be wrong though.
Destiny/Zack0Wack0:
--- Quote from: Demian on August 11, 2012, 06:44:14 AM ---Port mentioned that using shaders to create the illusion of a 3D stud should work but I'm not so sure. Last I checked GLSL bump mapping was rather low resolution. I might be wrong though.
--- End quote ---
It can be done using vertex shaders. Not sure how you would tell whether a brick is a cuboid though (and not for, e.g. a window).
LeetZero:
--- Quote from: Destiny/Zack0Wack0 on August 11, 2012, 07:10:35 AM ---It can be done using vertex shaders. Not sure how you would tell whether a brick is a cuboid though (and not for, e.g. a window).
--- End quote ---
Windows is a "SPECIAL", cuboid bricks are simply "BRICK" in the .blb at the second line. That would be a way to tell.
Demian:
--- Quote from: LeetZero on August 11, 2012, 07:11:42 AM ---Windows is a "SPECIAL", cuboid bricks are simply "BRICK" in the .blb at the second line. That would be a way to tell.
--- End quote ---
Ramps are special bricks and they usually have studs on top of them.
Squideey:
Each stud would suddenly become 10 extra polygons. A standard 32x32 plate would go from having 6 quads to having 5,125 quads.