pex-gl / pex-renderer

Physically based renderer (PBR) and scene graph for PEX.
https://pex-gl.github.io/pex-renderer/examples/index.html
MIT License
234 stars 16 forks source link

Directional light entity helper should not grow with light intensity #349

Closed vorg closed 8 months ago

vorg commented 8 months ago

Currently:

dmnsgn commented 8 months ago

Which version are you looking at?

Currently v4 alpha has: directional light:

point light:

spot light:

area light:

I am in favour of showing intensity/range in light helpers as it helps differentiate lights and matches scene scale (bigger scene often = bigger range).

vorg commented 8 months ago

I'm looking at v4 alpha. IMO size of gizmo should be only related to range as it indicates physical distance. Directional light being prism like omni/point light is just confusing as usually quite big=strong. Maybe a quad with more and more lines sticking out if it (could work well for point light too). Will do research how others do it.

vorg commented 8 months ago

Unity

Screenshot 2023-10-18 at 11 06 39

Screenshot 2023-10-18 at 11 08 35

vorg commented 8 months ago

ThreeJS the helpers are very basic with manual size setting

Screenshot 2023-10-18 at 11 17 23

vorg commented 8 months ago

Blender

Screenshot 2023-10-18 at 11 21 54

vorg commented 8 months ago

Godot

Screenshot 2023-10-18 at 11 34 10

vorg commented 8 months ago

@dmnsgn i like godot/unity most

vorg commented 8 months ago

Baylon

Screenshot 2023-10-18 at 11 36 45

vorg commented 8 months ago

Playcanvas

Screenshot 2023-10-18 at 11 49 03