Ivan Safrin
|
41908812e2
Added a setting to MaterialManager to not keep texture data in memory after uploading to video card
|
hace 11 años |
Ivan Safrin
|
dffed96631
Moved light sorting to renderer from shader module, fixed light sorting, renamed area lights to point lights everywhere in the code base, added light importance option to SceneLight prop sheet in entity editor, light importance now saved and loaded into entity instances
|
hace 12 años |
Ivan Safrin
|
eb7251a394
Fixed vertical plane primitive not generating tangents, added a way to enable and disable particle emitters, fixed a number of crashes in the IDE, memory cleanup in the IDE, shaders now reload again if program files are changed and reload resources is activated, asset browser now clears asset list if asset browsing mode is changed, material options now update if you change a mesh material in the entity editor.
|
hace 12 años |
Ivan Safrin
|
2af6917d67
Added ability to specify an override material in Scene, added wireframe option to materials, added flag to applyMaterial to force the material and ignore override material, added default wireframe material, added ability to toggle lighting in the entity editor, added ability to change between textured, solid and wireframe modes in entity editor
|
hace 12 años |
Ivan Safrin
|
869709885e
Added resource pools to resource manager, assets can now be loaded into the global resource pool or custom resource pools, added support for resource pool linking in SceneEntityInstance, added support for resource pool browsing to AssetBrowser, changed material selector to use resource pools via AssetBrowser, added UI for linking material files as resource pools to the current entity, added a tree scene view to the entity editor.
|
hace 12 años |
Ivan Safrin
|
ec27b396e7
Added sound recording support to SoundManager, added ability to save frame buffers to images, fixed bug in OSBasics that broke on some paths, added retina support to fullscreen mode on the Mac, added new UI retina and tweaked themes to the default assets, added floating point PCM buffer generation support for Sounds loaded from memory, added file of new entity format to be the new default Entity template in the IDE, minor UI tweaks.
|
hace 12 años |
Ivan Safrin
|
160aaeedf5
Implemented saving and loading of most of the entity editor entity types, cleaned up some old shader code
|
hace 12 años |
Ivan Safrin
|
d8d788f480
Added mesh viewer to IDE, added support for resource change events in ResourceManager, added tangents to the mesh file specification (ATTN: old mesh files will need to be re-exported), added support for tangent generation in polyimport, added global version string to PolyGlobals.h, fixed clear color setting in virtual scenes, made Label textures always be POT, added global IDE texture filtering options to the IDE preferences.
|
hace 12 años |
mcc
|
9f06700ad9
Currently if you pass MaterialManager::createTextureFromFile an incorrect file path it returns the default texture, and if you pass it an empty string it special-case returns NULL. Other Polycode classes do not anticipate this inconsistency and can crash when this occurs.
|
hace 12 años |
Ivan Safrin
|
2365cebc9b
Fixed single line UITextInput crashing on mousewheel events, fixed normalized render targets not working properly
|
hace 12 años |
Nur Monson
|
7130978066
Add the filename to some file loading error messages
|
hace 12 años |
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.
|
hace 12 años |
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
|
hace 12 años |
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
|
hace 12 años |
Ivan Safrin
|
bd00899428
Fixed new material system not setting ambient color properly, made Materials broadcast resource reload event on shader reload
|
hace 12 años |
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
|
hace 12 años |
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
|
hace 12 años |
cib
|
decbf1e0ef
Changed the Image::fill interface
|
hace 12 años |
Ivan Safrin
|
aca1fa37a4
Fixed resource paths not setting correctly for textures, added texture resource reload, made images in IDE editors reload on change.
|
hace 12 años |
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
|
hace 12 años |
Ivan Safrin
|
bb3204a27a
Added clampDefault and mipmapsDefault settings to MaterialManager to set the texture clamping and mimap generation defaults
|
hace 12 años |
mcc
|
4a881447e4
Prevent a potential crash when parsing a materials xml containing mistakes
|
hace 13 años |
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)
|
hace 13 años |
Ivan Safrin
|
5e356889d3
Merge pull request #123 from mcclure/xmlfix
|
hace 13 años |
mcc
|
524720f71d
Merge 7/29 mcclure shader fixes branch with Ivan Polycode
|
hace 13 años |
mcc
|
759f0a54e5
TiXmlNode::ToElement() can return NULL, for example in the case of an XML c
|
hace 13 años |
Ivan Safrin
|
95ef3cc459
Premultiplied alpha support
|
hace 13 años |
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.
|
hace 14 años |
Ivan Safrin
|
096ec070c0
Only use FP16 framebuffers if specified in material file
|
hace 14 años |
Ivan Safrin
|
5639b9844c
Small fix to last commit
|
hace 14 años |