Ivan Safrin
|
394f41fca4
Finished the material editor in the IDE. Rewrote screen shader bindings. Fixed depth buffer FBOs and depth buffer binding. Screen shaders now require explicit 'color' and 'depth' rendertarget bindings to access the original scene/screen render. Added an optional precision parameter to String::NumberToString. Numberous resizing improvements to UI controls and IDE props. Added DefaultShaderNoTextureHDR shader to hdr pack. Added a default REMOVE_EVENT Event type. Added Vector2 shader prop. Removed deprecated saving/loading code from Scene. Numerous bugfixes in shader code.
|
před 12 roky |
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
|
před 12 roky |
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
|
před 12 roky |
Ivan Safrin
|
bd00899428
Fixed new material system not setting ambient color properly, made Materials broadcast resource reload event on shader reload
|
před 12 roky |
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
|
před 12 roky |
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
|
před 12 roky |
cib
|
decbf1e0ef
Changed the Image::fill interface
|
před 12 roky |
Ivan Safrin
|
aca1fa37a4
Fixed resource paths not setting correctly for textures, added texture resource reload, made images in IDE editors reload on change.
|
před 12 roky |
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
|
před 12 roky |
Ivan Safrin
|
bb3204a27a
Added clampDefault and mipmapsDefault settings to MaterialManager to set the texture clamping and mimap generation defaults
|
před 12 roky |
mcc
|
4a881447e4
Prevent a potential crash when parsing a materials xml containing mistakes
|
před 13 roky |
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)
|
před 13 roky |
Ivan Safrin
|
5e356889d3
Merge pull request #123 from mcclure/xmlfix
|
před 13 roky |
mcc
|
524720f71d
Merge 7/29 mcclure shader fixes branch with Ivan Polycode
|
před 13 roky |
mcc
|
759f0a54e5
TiXmlNode::ToElement() can return NULL, for example in the case of an XML c
|
před 13 roky |
Ivan Safrin
|
95ef3cc459
Premultiplied alpha support
|
před 13 roky |
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.
|
před 14 roky |
Ivan Safrin
|
096ec070c0
Only use FP16 framebuffers if specified in material file
|
před 14 roky |
Ivan Safrin
|
5639b9844c
Small fix to last commit
|
před 14 roky |
Ivan Safrin
|
c2b21a5e41
Made mipmaps not generate for Screen mesh textures
|
před 14 roky |
Ivan Safrin
|
1f89731a0a
HDR and shader fixes, made SceneLabel subclass SceneMesh
|
před 14 roky |
Ivan Safrin
|
04a22925fc
Tangent generation and normal map shader support
|
před 14 roky |
Ivan Safrin
|
971106bb55
Fixed texture destruction and render to texture
|
před 14 roky |
Cameron Hart
|
aa4e7b968e
Huge tidy up of headers. Moved includes to .cpp files where possible to improve compile times and reduce circular dependencies.
|
před 14 roky |
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.
|
před 14 roky |
Ivan Safrin
|
19cd891d7c
Rewrote default shaders, fixed light sorting code, fixed UV generation for cylinder, torus primitives, material properties in material files.
|
před 14 roky |
Ivan Safrin
|
f4baf7df63
Added default shaders, fixed GLSL shader calls, made GLSL part of core, added positional sound support.
|
před 14 roky |
Ivan Safrin
|
5f2a5232c4
More code cleanup
|
před 14 roky |
Ivan Safrin
|
c9406f5051
Code cleanup and documentation.
|
před 14 roky |
Ivan Safrin
|
7a37c48787
Code clean up and documentation
|
před 14 roky |