Skip to content

3rd party addon is affected by 3d lights even though it doesn't set PluginInfo.SetSupports3DLighting() #9268

Description

@F3der1co

Checks

  • I have read and understand the bug report guidelines
  • I checked for existing similar reports to avoid submitting a duplicate
  • I verified the issue occurs in the latest beta release to avoid submitting an issue that has already been resolved

Problem description

It seems like 3rd party addons may be affected by 3Dlights even if they don't set PluginInfo.SetSupports3DLighting().
I noticed this while using the Spine addon, bundled with the project. One piece of the puzzle may be that the addon uses drawMesh()

Upload a project

light.zip

Steps to reproduce

  1. observe
  2. delete light
  3. observe

Observed result

  1. character is completely black
  2. characters mouth and eyes are visible

Expected result

  1. characters mouth and eyes are visible
  2. characters mouth and eyes are visible

As PluginInfo.SetSupports3DLighting() is not set the addon should not be lit, or at least there should be a way to disable the lighting, as the material properties currently also don't show up.

Affected platforms

No response

Affected browsers

No response

Last unaffected release (including beta releases)

No response

First affected release (including beta releases)

No response

Additional remarks

No response

Platform information

Platform information
Product: Construct 3 r501 (beta)
Browser: Chrome 152.0.7977.83
Browser engine: Chromium
Context: webapp
Operating system: Windows 11
Device type: desktop
Device pixel ratio: 1.5
Logical CPU cores: 16
Approx. device memory: 32 GB
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36
Language setting: en-US

Local storage
Storage quota (approx): 11 GB
Storage usage (approx): 863 MB (7.8%)
Persistent storage: No

Browser support notes
This list contains missing features that are not required, but could improve performance or user experience if supported.

Nothing is missing. Everything is OK!
WebGPU information
Renderer: WebGPU
Compatibility mode: no
Supports GPU profiling: yes
Major performance caveat: no
Maximum texture size: 16384
Adapter vendor: nvidia
Adapter architecture: lovelace
Adapter device: (unavailable)
Adapter description: (unavailable)
Adapter type: (unavailable)
Adapter backend: (unavailable)
Adapter features:

bgra8unorm-storage
clip-distances
core-features-and-limits
depth-clip-control
depth32float-stencil8
dual-source-blending
float32-blendable
float32-filterable
indirect-first-instance
primitive-index
rg11b10ufloat-renderable
shader-f16
subgroup-size-control
subgroups
texture-component-swizzle
texture-compression-bc
texture-compression-bc-sliced-3d
texture-formats-tier1
texture-formats-tier2
timestamp-query
Audio information
System sample rate: 48000 Hz
Output channels: 2
Output interpretation: speakers
Supported decode formats:

WebM Opus (audio/webm;codecs=opus)
WebM Vorbis (audio/webm;codecs=vorbis)
MPEG-4 Opus (audio/mp4;codecs=opus)
MPEG-4 AAC (audio/mp4;codecs=mp4a.40.2)
MP3 (audio/mpeg)
FLAC (audio/flac)
PCM WAV (audio/wav;codecs=1)
Supported encode formats:

WebM Opus (audio/webm;codecs=opus)
MPEG-4 Opus (audio/mp4;codecs=opus)
MPEG-4 AAC (audio/mp4;codecs=mp4a.40.2)
Video information
Supported decode formats:

WebM AV1 (video/webm;codecs=av01.0.00M.08)
WebM VP9 (video/webm;codecs=vp9)
WebM VP8 (video/webm;codecs=vp8)
MPEG-4 AV1 (video/mp4;codecs=av01.0.00M.08)
MPEG-4 H.265 (video/mp4;codecs=hev1.1.2.L93.B0)
MPEG-4 H.264 (video/mp4;codecs=avc1.420034)
Supported encode formats:

WebM AV1 (video/webm;codecs=av01.0.00M.08)
WebM VP9 (video/webm;codecs=vp9)
WebM VP8 (video/webm;codecs=vp8)
WebM H.264 (video/webm;codecs=avc1.420034)
MPEG-4 AV1 (video/mp4;codecs=av01.0.00M.08)
MPEG-4 VP9 (video/mp4;codecs=vp9)
MPEG-4 H.265 (video/mp4;codecs=hev1.1.2.L93.B0)
MPEG-4 H.264 (video/mp4;codecs=avc1.420034)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions