Jump to content

SpiderPig

Members
  • Posts

    2,285
  • Joined

  • Last visited

Everything posted by SpiderPig

  1. Updated to v1.3. Macros now supported and an editor extension allows you to create a shader project from an existing material.
  2. I might have some further info for you Josh. Create a new C++ project, load up the project in visual studio. Make this your loop: //Main loop while (window->Closed() == false and window->KeyDown(KEY_ESCAPE) == false) { if (window->KeyHit(KEY_SPACE)) { Print("------DELETING MAP------"); scene = nullptr; } world->Update(); world->Render(framebuffer); #ifdef STEAM_API_H Steamworks::Update(); #endif } You will see in the output that it says all the material, textures and models are being deleted but nothing actually disappears from the scene. I think this is because the camera is being deleted with the map. Hope this helps. Maybe an error should be thrown if we try to render the world and there is no camera present?
  3. This is an odd one but I believe I have found the issue with it. If you load the gltf in the model editor, navigate to one of the meshes (first mesh in the list I think, but doesn't really matter) and browse for the 'Leaves' material. The leaves should go red, and while the editor updates the leaves should move around a bit. However, if the material that you apply (Leaves.mat in this case) has 'alphamask' set as true, the flag 'alphaMode' in the GLTF will be set to 'MASK' and not 'BLEND'. If 'alphaMode' is set to MASK the custom vertex shader in 'leaves.mat' which turns the leaves red and moves them, doesn't seem to load. If you manually change this back to BLEND and reload the model, the leaves should be red and move a bit as the window updates. Please let me know if I missed anything from the zip. You may need to change a few file paths in the material / shader family. PineTree.zip
  4. Upon occasion I've wanted to save the material of gltf model as a physical material file. Perhaps an 'Export' or "Save As' option here as well?
  5. A real-time rendering option for the editor and asset editors (material / models) would be awesome.
  6. This might be considered a bug, I'm not sure. With a material open in the editor, if you then edit that material file in an external program the material itself does reload but all the parameters don't update. Would be nice to have them do so. Also the thumbnail for the material doesn't update unless you save the material. Would be nice to have it update when the file changes perhaps? I just noticed all this when using my shader editor on the materials whilst having the editor / material editor open. It's not a problem, just a luxury.
  7. I made this so that I didn't have to convert my entire Leadwerks projects straight away. With this you can still use (most of) Leadwerks style drawing commands. It's not perfect, maybe not even finished (haven't used it in a while) but at the bare minimum some of you may be able to use / learn from it! LegacyCanvas.zip
  8. Honestly I'm not sure if this is a bug or something I've done. Extract this into the main project directory so it can find the textures and shader family and then load it with the editor. There are no texture slots in the material editor available. I think it has to do with the shaderfamily because if it's using the default pbr.fam it loads the slots fine. Foliage.zip
  9. Is it possible to get the filename of the currently open material in the material editor in lua extension?
  10. Is there an event in LUA that occurs when a process created with CreateProcess() is closed down? Or can I add a while loop in an extension to check the process status?
  11. Never mind, it was an easy fix in C#.
  12. So I'm starting my process in a LUA extension for the editor. if process == nil then process = CreateProcess("B:/ShaderMaster.exe") end I get an error stating it couldn't find one of the files the app needs. It's showing that it's looking in a folder relative to the project the editor has open. I need it to look relative to the process exe because that's where all of it's files are. I think I can edit my software to fix this but I'm wondering if this can be done simply when creating the process? Startup arguments perhaps?
  13. Rather than navigate back to the file browser I'd like to be able to edit an asset by either double clicking it or right click and selecting "Edit" in the scene tree.
  14. I'm browsing for a material that will be common over several GLTF models. After saving the models with the material assigned I've found by editing the one material it does not update the models that have it assigned. Upon further inspection of the GLTF file I saw no file reference to the material. It seems it has just copied the material into the GLTF file. Is this intended behavior?
  15. When saving this model in the asset editor it automatically generates PNG files even though everything is DDS. PineLarge_001_LOD1.zip
  16. The ability to drag a material from the project's file browser onto the model or the mesh name in the model tree view would be nice.
  17. For me, clicking this takes me to a different projects folder other than my currently open project's directory in which the model resides. I think it's going to the last open folder or something... which is useful so long as it's within the current project think.
  18. Could we get a "Rename" and "Delete" option when we right click an asset and a "Create Material" option when we right click blank space?
  19. Would be nice to see the outline drawn around the appropriate mesh when selecting the mesh or material in the model tree.
  20. Just a thought. If I edit a models material that gets saved into a gltf file I would then like to export said material to a file and have the model use that file instead of storing it inside the gltf. I know I could just create a material and load that instead, but there are some cases where I don't know that's what I want and I may already have the material set up for that model. I think this will be useful for models with multiple LOD's and/or multiple variations of the same model that can all use the one material.
  21. Because I like being efficient (#lazy) I was wondering if we could have a few shortcut keys for some of the menu items in the asset editor? Something like the standards perhaps - Save : Ctr+S Save As : Ctrl + Shift + S Toggle Wireframe : F2 Toggle Collider : F3
  22. I can't seem to change the name of the material for the model. I've tried pressing enter or saving the model straight away but it never saves the name. Actually I can't change the mesh name either...
  23. Updated to v1.2. Release notes in download.
  24. I'm from Australia. I will join at some point when I remember to set my alarm.
  25. Faster and shadows are just multiplied by the final frag color. Much faster. Also not using texelfetch anymore which smoothed the shadows a bit but still needs more work.
×
×
  • Create New...