[Interest] Qt3D point light intesity

Megidd Git megiddgit at gmail.com
Sat Apr 11 17:29:33 CEST 2020


Hi!

I'm using point light <https://doc.qt.io/qt-5/qt3drender-qpointlight.html> in
a 3D scene with entities of Phong
<https://doc.qt.io/qt-5/qt3dextras-qmorphphongmaterial.html> material. I
just want to be able to increase/decrease point light *intensity*. Point
light has three properties:

- constantAttenuation : float
- linearAttenuation : float
- quadraticAttenuation : float

Documentation mentions that the exact meaning and use of those properties
is up to the material implementation. Now I wonder how can I simply
decrease/increase light intensity, considering that I'm using Phong
<https://doc.qt.io/qt-5/qt3dextras-qmorphphongmaterial.html> material.

Thanks
😃
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200411/234d35dd/attachment.html>


More information about the Interest mailing list