You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for scissor and viewport settings #570
Pass now has viewport and scissor properties and RenderPipeline can set the viewport/scissor for all passes via setViewport and setScissor. Here's an example of how to use it:
Activity
Implement viewport/scissor
vanruesc commentedon Feb 9, 2025
@jo-chemla scissor/viewport settings have landed in v7.0.0-beta.5.
Pass now has
viewportandscissorproperties andRenderPipelinecan set the viewport/scissor for all passes viasetViewportandsetScissor. Here's an example of how to use it:postprocessing/manual/assets/js/src/demos/scissor-viewport.ts
Line 102 in dfe16f1
drone1 commentedon Feb 21, 2025
amazing, tysm!
btw, any performance concerns that you're aware of?
vanruesc commentedon Feb 21, 2025
None that I'm aware of 👍