aboutsummaryrefslogtreecommitdiff
path: root/src/shader.cpp
AgeCommit message (Collapse)Author
2017-04-19Fix various variables passed by copy instead of const ref (#5610)Loïc Blot
Pointed by cppcheck
2017-01-23Add hardware node coloring. Includes:Dániel Juhász
- Increase ContentFeatures serialization version - Color property and palettes for nodes - paramtype2 = "color", "colored facedir" or "colored wallmounted"
2016-12-07Fog: Make fraction of visible distance at which fog starts configurableLars Hofhansl
Optimise the fetching of global settings 'camera_smoothing', 'cinematic' and 'cinematic_camera_smoothing'. Cache 'cam_smoothing'.
2016-11-23No functional changes. Credit gcuZeno-
This merge doesn't make any functional changes. It's a trivial style fix so that @gregorycu can be dual credited along with shadowninja for PR #4800
2016-11-23Fix superflous shader setting updates (#4800)ShadowNinja
This improves rendering performance by ~40%
2016-11-04Remove unused shader matrices. (#4723)lhofhansl
2016-03-19Clean up StrfndShadowNinja
Changes: * Fix indentation. * Pass strings by const reference. * Merge Strfnd and WStrfnd into one class instead of copying them. * Remove trailing spaces. * Fix variable names. * Move to util. * Other miscellaneous style fixes.
2016-02-11Set proper GLSL pixel shader versionRealBadAngel
2016-02-11Dump shader programs on compile errorsRealBadAngel
2016-02-09Fix inverted conditions in shader.cppLoic Blot
2016-02-09shader.cpp: don't test twice if shader programs are presentLoic Blot
Also use string::empty method, it is better than comparing with empty strings.
2016-02-09Filmic HDR tone mappingRealBadAngel
2015-10-16Refactor thread utility interfacekwolekr
- Add "thr_" prefix to thread utility functions - Compare threadid_ts in a portable manner, where possible
2015-08-25Change i++ to ++iDavid Jones
2015-08-23Clean up threadingShadowNinja
* Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test.
2015-07-02Shaders fixes and cleanup relief mapping code.RealBadAngel
2015-06-14Improved parallax mapping. Generate heightmaps on the fly.RealBadAngel
2015-05-19Replace instances of std::map<std::string, std::string> with StringMapkwolekr
Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-03-05Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot
tile.hpp to src/client/
2014-10-02Add optional framed glasslike drawtypeBlockMen
2014-09-21Add firelike drawtypeTriBlade9
2014-07-06Fix warnings reported by clangsfan5
2014-07-02Fix memory leaks in GenericCAO, ShaderSource and Player classessapier
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-15Fix all warnings reported by clangSfan5
2014-03-21Normal maps generation on the fly.RealBadAngel
Parallax mapping with slope information. Overriding normal maps.
2014-01-10Make MutexQueue use jsemaphore for signalingsapier
2013-12-09Optimize shaders code. Add settings at compile time.RealBadAngel
2013-12-08Fix shaders on some GPUsNovatux
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-11-17Fix Result of processed Request was written to invalid (non existent) ↵sapier
ResultQueue if requesting thread timed out before
2013-11-17Fix multicaller support in RequestQueuesapier
2013-07-08Settings: everything != 0 equals true; remove .asm shadersPilzAdam
2013-07-07Fix many formspec menu bugssapier
2013-07-05Don't rebuild the dummy shader (less SourceShaderCache warning spam)Kahrl
Also write something about rebuilding shaders to infostream in Client::afterContentReceived()
2013-05-06Fix shader license headers to be LGPLBrent Hull
2013-04-07fix memory leak on shader shutdownsapier
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-12-02Implement a global shader parameter passing system and useful shadersPerttu Ahola
2012-12-02ShaderSource and silly example shadersKahrl