Proof of concept: 3DFaceLight addon
If you want to support further light experiments, etc. please consider:
3DFaceLight - this is a proof of concept addon to light some of the C3 native objects like 3D Shape and Meshes.
Warning!
3DFaceLight addon may never progress further from this current implementation. It involves patching the C3 runtime during runtime (specifically the 3DQuad*() functions.) That means it could break at any update of C3 or even cause problems with the current version. It does not update the C3 runtime unless included, in the project, so if it causes problems, it can always be removed from the project.
With a larger number of 3DShapes or Meshes the addon can really chew up CPU perf quickly!
What it does - similar to the new 3DObject light ACEs, this addon adds 3D Face world lighting for C3 3DShapes and Meshes. The lighting system is _separate_ from the 3DObject lighting. To enable it, you also need to include the 3DObject addon in the project. It does not need to be in the layout, but it does need to be included in the project. If you get a crash when running, check that 3DObject is loaded.
It does not support baking and may never support baking.
It really is here to show what could be possible. Perhaps Scirra will investigate once they can see if there is demand or what is possible in different use cases. It is not simple to implement in a performant way (would require changes to vertex shaders, fragment shaders, and C3, baking would be another complication) - so it would be a challenge - they may not want to focus on it.
Please leave pics of what you do with it.
Files
Get Construct 3 3DObject Plugin
Construct 3 3DObject Plugin
Construct 3 3DObject, loaded from 3D model files (gltf embedded format)
Status | Released |
Category | Assets |
Author | kindeyegames |
Tags | 3D, construct, construct-3 |
More posts
- fix (addon) fix corrupted addon16 days ago
- fix (accessors) add support for sparse accessors in gltf17 days ago
- Fix (node-disable) fix node disable without skinned node37 days ago
- fix (node-disable) regression43 days ago
- Fix (playable Ad)55 days ago
- fix (worker) correct animation blend for worker (translation)72 days ago
- fix (opacity)78 days ago
- add (sample) sample gpu-skin with phong light91 days ago
- fix (gpu-skinning) fix regression for worker mode91 days ago
- fix (light) fix for simple phong orientation92 days ago
Leave a comment
Log in with itch.io to leave a comment.