Qt3D: scale3D a point light
Unsolved
General and Desktop
-
I try to scale3D a QML PointLight entity with the componetns PointLight and Transform
i set the scale3D propery of the transform component of the entity, but the light is not transformed.
when i give the light a material and a mesh component, then i see that the mesh is transformed, but not the light.Maybe someone has an idea, how i can have a spotlight, that is not a circle, i would like to have an ellipse.
-
Hi,
you can simulate it with a selection of point lights or implement your own shader like here: http://www.gamedev.net/topic/552315-glsl-area-light-implementation/You can google for extended light source or area light and see what you get. Qt3D does not have it of-the-shelf, at least AFAIK.
-Michael.