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 - SDK V1 only
Construct 3 3DObject Plugin - SDK V1 only
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 vector color for models with vertex color2 days ago
- Fix black color render in r441+2 days ago
- Fix for unbound buffers (init before 3DObject)2 days ago
- Fix for frag light effect with r441+35 days ago
- Fix for r441+35 days ago
- Fix sliders for ssao-cube example48 days ago
- Add SSAO which uses view space48 days ago
- Optimization - create common UBO per model55 days ago
- Fix UBO support for non-skinned meshes60 days ago
- Add UBO support for bones transfer, 256 total66 days ago
Leave a comment
Log in with itch.io to leave a comment.