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

Supported material types #311

Open vorg opened 2 years ago

vorg commented 2 years ago

Currently we support:

Would be good to have

What about?

vorg commented 2 years ago

Line rendering would be good to have internally anyway for all the gizmos/helpers.

dmnsgn commented 2 years ago
vorg commented 2 years ago

gl.Lines are supported. It's a not well known feature but it already works out of the box thanks to pex-context

Screenshot 2022-07-14 at 10 35 20
dmnsgn commented 2 years ago

gl.Lines are supported. It's a not well known feature but it already works out of the box thanks to pex-context

Screenshot 2022-07-14 at 10 35 20

But need edges to be computed

dmnsgn commented 2 years ago

Any matcap material needed?

vorg commented 2 years ago

Haven't used Matcap in ages. For quick debug scenes i've used wrapped diffuse with random color per mesh + sometimes shadows (ecs.Draw Base Color and friends)

dmnsgn commented 1 year ago

v4 renderers:

Could standard and basic be mixed in the same view? There is confusion between line and segments (uses lineRenderer).

vorg commented 10 months ago

Standard and basic can be mixed. Let me check on the segment naming.