Ivan Safrin
|
1caf52677f
Shader programs are now referenced by paths not names, will be loaded if not a current resource when loading shader, changed the default material files to reflect the new changes
|
12 anni fa |
Ivan Safrin
|
4e0c221180
Added cubemap editor to IDE material editor, added LightCube shader to the default pack, fixed cubemap bindings in GLSL, changed the way cubemaps are save in the material file, added cubemap selector in the material editor
|
12 anni fa |
Ivan Safrin
|
bd00899428
Fixed new material system not setting ambient color properly, made Materials broadcast resource reload event on shader reload
|
12 anni fa |
Ivan Safrin
|
a8e81d54e6
Shaders no longer require unifroms to be declared in the material file and loaded directly from GLSL, fixed a crash in resource manager destructor, added additive blending operation for Color
|
12 anni fa |
Ivan Safrin
|
039b341794
Added ability to create a shader programmatically from MaterialManager, made programs notify shader when they reload, made the YesNo and YesNoCancel popups have minimum width, added a shader icon to the asset browser
|
12 anni fa |
cib
|
decbf1e0ef
Changed the Image::fill interface
|
12 anni fa |
Ivan Safrin
|
aca1fa37a4
Fixed resource paths not setting correctly for textures, added texture resource reload, made images in IDE editors reload on change.
|
12 anni fa |
Ivan Safrin
|
403c82ffdb
New material editor, started on shader editor (doesnt save yet), rewrote some internal shader stuff to be more streamlined, fixed Label not redrawing correctly after setting size or font, fix for paths with spaces in executeExternalCommand and IDE on Linux and Mac, made 2D template use an entity2d file, fixed new file and new project dialog buttons firing while invisible
|
12 anni fa |
Ivan Safrin
|
bb3204a27a
Added clampDefault and mipmapsDefault settings to MaterialManager to set the texture clamping and mimap generation defaults
|
12 anni fa |
mcc
|
4a881447e4
Prevent a potential crash when parsing a materials xml containing mistakes
|
13 anni fa |
Ivan Safrin
|
6135171126
MAJOR MATERIAL SYSTEM CHANGES: Material properties now defined as shader parameters, shader parameters now created for all materials with default values, textures now must be referenced by full relative paths to resource directories, addArchive can now take folder as parameter. Object changes: string children now set as attributes instead of new nodes in XML. IDE: Basic Material file editor (will only edit/save materials for now)
|
13 anni fa |
Ivan Safrin
|
5e356889d3
Merge pull request #123 from mcclure/xmlfix
|
13 anni fa |
mcc
|
524720f71d
Merge 7/29 mcclure shader fixes branch with Ivan Polycode
|
13 anni fa |
mcc
|
759f0a54e5
TiXmlNode::ToElement() can return NULL, for example in the case of an XML c
|
13 anni fa |
Ivan Safrin
|
95ef3cc459
Premultiplied alpha support
|
13 anni fa |
mcc
|
f9e5bf72fb
Material manager 'reload programs' reloads programs (shaders) but not shaders (programs), meaning materials don't actually change after a reload. Fix that. Add a 'grab all resources of type' feature to ResourceManager to support this.
|
14 anni fa |
Ivan Safrin
|
096ec070c0
Only use FP16 framebuffers if specified in material file
|
14 anni fa |
Ivan Safrin
|
5639b9844c
Small fix to last commit
|
14 anni fa |
Ivan Safrin
|
c2b21a5e41
Made mipmaps not generate for Screen mesh textures
|
14 anni fa |
Ivan Safrin
|
1f89731a0a
HDR and shader fixes, made SceneLabel subclass SceneMesh
|
14 anni fa |
Ivan Safrin
|
04a22925fc
Tangent generation and normal map shader support
|
14 anni fa |
Ivan Safrin
|
971106bb55
Fixed texture destruction and render to texture
|
14 anni fa |
Cameron Hart
|
aa4e7b968e
Huge tidy up of headers. Moved includes to .cpp files where possible to improve compile times and reduce circular dependencies.
|
14 anni fa |
Cameron Hart
|
d2fde9fc99
Converted string to store as UTF-8 since the majority of the time this is how it's used. Now strings can be passed as const reference parameters which greatly reduces the amount of string copying being performed.
|
14 anni fa |
Ivan Safrin
|
19cd891d7c
Rewrote default shaders, fixed light sorting code, fixed UV generation for cylinder, torus primitives, material properties in material files.
|
14 anni fa |
Ivan Safrin
|
f4baf7df63
Added default shaders, fixed GLSL shader calls, made GLSL part of core, added positional sound support.
|
14 anni fa |
Ivan Safrin
|
5f2a5232c4
More code cleanup
|
14 anni fa |
Ivan Safrin
|
c9406f5051
Code cleanup and documentation.
|
14 anni fa |
Ivan Safrin
|
7a37c48787
Code clean up and documentation
|
14 anni fa |
Ivan Safrin
|
40fa766738
Cleaned up code, replaced unnecessary dynamic instances with static classes.
|
15 anni fa |