Flat light and back face cull worker mode
Construct 3 3DObject Plugin » Devlog
Add support for per face lighting and back face culling in worker mode. For larger models, this can offload a lot of calculations to another thread. Typical systems have 4-8 cores / threads to distribute work to.
Worker back face culling is a new property per object. Only works in worker mode (it would probably be a net loss if done on main thread.) This will potentially help some with GPU performance, when lighting is enabled.
Files
3DObject-2-49-1.c3addon 109 kB
Jun 08, 2023
Get Construct 3 3DObject Plugin
Download NowName your own price
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
- Add support for webGPU fragment lighting47 days ago
- A bunch of for sale game templates using 3DObject61 days ago
- Add frag light support for Worker mode animation62 days ago
- We need your votes to support 3d fragment lighting67 days ago
- Frag Light experimental now works C3 Objects (constrained)80 days ago
- Frag light effect support for experimental frag effect80 days ago
- Add support for loading material from a sprite99 days ago
- fix (texture) image texture propertyJan 10, 2024
- chore - remove some debug loggingJan 07, 2024
- Add support for webp texture sourcesJan 06, 2024
Comments
Log in with itch.io to leave a comment.
nice work. i found that updating lights or baking lights does not work with worker mode. and turning on worker mode for something like a low poly cube in your 3dflatlight example, the bottom or the top parts of the cube, some rows stay black, not a big deal tho. looking forward to finally add lights to my game.
Thanks for the feedback - I'll take a look at making update light / baking work in worker mode.
For the cube, if you also have Worker Back Face Cull enabled, that requires the vertices of the 3D Model to be ordered consistently and properly (CW / CCW). It may be the case that they are not organized that way in your model. You could try an import and export of blender to see if that helps fix the ordering.
the newest update fixed the black areas, thanks
great, you are welcome
Performance improve is always good