Closed mfazekas closed 8 months ago
Hi @mfazekas Thanks for reporting this. This issue has already been fixed and the fix will be shipped in the next release. Sorry for the inconvenience!
@mfazekas could you verify this on v11.2.0-beta.1 ? Thanks!
ping @mfazekas
@baleboy I can confirm it's working in the sample app:
Setting modelLayer emissiveStrength to 2.0 renders the same as with puck:
Tested with 11.2.0
Environment
Observed behavior and steps to reproduce
When adding a model layer to Puck Playground Swift UI example, the model layer's
modelEmissiveStrength
have no effect. (Puck3D modelEmissiveStrength works fine)See the image bellow. There is the car for the 3d location puck and there is a dark car next to it. The dark sport car was added with modelEmissiveStrength = 2.0, and unlike the 3d puck it's dark.
See end of issue for full code. To reproduce copy the code at the end of the issue, to the PuckPlayground.swift on the repo, then run the SwiftUI / Puck Playground Example. Make sure the simulated location is set to apple aka (latitude: 37.33233141000001, longitude: -122.03121859999999).
Expected behavior
modelEmissiveStrength
should have the same effect ascircleEmissiveStrength
orPuck3D.modelEmissiveStrength
Notes / preliminary analysis
circleEmissiveStrength
orPuck3D.modelEmissiveStrength
works fine.Additional links and references