Add features to light
Light changes
- Change the spotlight cone control to be based on degrees of the cone and portion of the cone size for edge (e.g. 0.2 is 20%)
- This is a change in behavior - please update the values in previous projects using spotlight.
- Add specular light control to 3DObject lights (generally use sparingly for a decent look)
- Add Set View Position to be used for specular calculation (set to the 3D camera location)
- Add distance attenuation, using the traditional formula: att = att / (1.0*attConstant + distance * attLinear + distance * distance * attSquare)
See updated example project to test it out.
Files
3DFlatLight-1-2-0.c3p 1.9 MB
Apr 27, 2023
3DObject-2-44-0.c3addon 106 kB
Apr 27, 2023
Get Construct 3 3DObject Plugin - SDK V1 only
Download NowName your own price
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.