aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock_mesh.cpp
AgeCommit message (Collapse)Author
2014-12-21Change TileSpec::frames to be std::vector not std::mapunknown
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-10Increase performance of getLight() by at least 2xCraig Robbins
Leads to the following increases: getSmoothLight() approx. 40% increase getTileInfo() approx. 25% increase MapBlockMesh::MapBlockMesh() 25-30%
2014-12-07Restore finalColorBlend implementation in shaders.RealBadAngel
2014-11-22Fix smooth lighting (ambient occlusion)Craig Robbins
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-21Optimise functions from CNodeDefManager and VoxelManipulatorCraig Robbins
CNodeDefManager::get() VoxelManipulator::addArea()
2014-11-21Optimise getTileInfo()Craig Robbins
getTileInfo() ~1.5x faster getSmoothLight ~2.0x faster
2014-11-08Implement WieldMeshSceneNode which improves wield mesh renderingKahrl
- Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO.
2014-10-19Various uninitialised variable fixesCraig Robbins
sky.cpp: m_bgcolor.getAlpha() was being used before initialised mesh related: m_highlight_mesh_color was being used uninitialised
2014-10-18Add meshnode drawtype.RealBadAngel
2014-09-17Node highlighting.RealBadAngel
2014-08-21Pass light sources in blue channel of vertex color instead of decoded light ↵RealBadAngel
for all special drawtypes. Plus some style fixes and optimizations.
2014-08-16Let lighting be done only CPU side. Remove finalColorBlend implementation ↵RealBadAngel
from shaders.
2014-08-14Make faces shading correct for all possible modes.RealBadAngel
Skip shading for lightsources and top of the nodes. Fixes liquid sources and flowing surfaces having different brightness.
2014-07-17Speedup mapblock_meshRealBadAngel
2014-07-07Faces shading fixesRealBadAngel
2014-07-06Fix non-smooth non-shader node shading (Fixes #1436, regression by commit ↵Perttu Ahola
a0f78659f31abd)
2014-06-30Fix regression in light calculationsapier
2014-06-23Minor fix in check ordersapier
2014-06-23Speedup getTileInfo by up to 30%sapier
2014-06-17Improved faces shading with and without shaders.RealBadAngel
2014-06-15Unite nodes shaders.RealBadAngel
Pass drawtype and material type to shaders. Move shaders generation to startup only. Allow assign shaders per tile. Initial code to support water surface shader.
2014-04-23Fixed wrong node texture rotation for facedirs 5 and 7MetaDucky
2014-04-06Pass pointer to nodedef directly to avoid recalculation in quite often ↵sapier
called function
2014-03-21Normal maps generation on the fly.RealBadAngel
Parallax mapping with slope information. Overriding normal maps.
2014-03-04Fix rendering glitches when far from the center of the mapNovatux
2013-12-09Optimize shaders code. Add settings at compile time.RealBadAngel
2013-12-03Shaders rework.RealBadAngel
2013-11-17Prevent shaders from being created when disabledkwolekr
2013-09-04Fix remnants of s32 enable_shadersKahrl
2013-08-10Dont crash if facedir > 23PilzAdam
2013-08-05Fix crack overlay for animated texturesKahrl
2013-07-21Fix light issue in 6d facedir.RealBadAngel
2013-07-12Clean up bumpmap code a bitkwolekr
2013-07-07Fix many formspec menu bugssapier
2013-07-04Add texture bumpmapping feature.RealBadAngel
2013-07-02Remove texture atlas / AtlasPointer, rename getTextureRaw to getTextureKahrl
2013-06-18Remove useless recalculation of bounding box (mapblock_mesh)Esteban I. Ruiz Moreno
2013-06-15Removed a redundant step which degraded performancesweetbomber
2013-05-06Remove 'Meshbuffer ran out of indices' limitationKahrl
2013-04-23Add option to use texture alpha channelkwolekr
2013-03-236d facedirRealBadAngel
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-12-02Try to add a bit of topside brightness when not using shadersPerttu Ahola
2012-12-02Handle day-night transition in shader and make light sources brighter when ↵Perttu Ahola
shaders are used
2012-12-02Fix tile MaterialType to make sense and make lava surface be shader'd lower ↵Perttu Ahola
like water
2012-12-02Implement a global shader parameter passing system and useful shadersPerttu Ahola
2012-12-02ShaderSource and silly example shadersKahrl
2012-11-27Fix mesh glitches on MapBlock boundariesPerttu Ahola