Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 05055da95c4f2fd33e16ce11393085acc98c0d54
      
https://github.com/WebKit/WebKit/commit/05055da95c4f2fd33e16ce11393085acc98c0d54
  Author: Ada Chan <[email protected]>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M Source/WebKit/WebKitSwift/RealityKit/RKEntity.swift
    M Source/WebKit/WebKitSwift/RealityKit/RealityKitBridging.h

  Log Message:
  -----------
  Support setting IBL in WKSRKEntity
https://bugs.webkit.org/show_bug.cgi?id=281185
rdar://137003306

Reviewed by Mike Wyrzykowski.

Create a CGImage from the image data, then create a TextureResource from it,
and create an EnvironmentResource from that texture resource.
Then set up the environment lighting for the model entity with that
environment resource via RealityKit ImageBasedLight component.

* Source/WebKit/WebKitSwift/RealityKit/RKEntity.swift:
(WKSRKEntity.applyIBL(_:)):
(WKSRKEntity.removeIBL):
* Source/WebKit/WebKitSwift/RealityKit/RealityKitBridging.h:

Canonical link: https://commits.webkit.org/284966@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to