-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Description
Description
scale = scale.mul( float( scaleNode ) ); |
In SpriteNodeMaterial
the scaleNode
is convert to float before mutliply the scale (vec2).
It works in most case but in certain setup with orthographic & renderTarget the user might want to correct aspect ratio using a different x
/ y
in scaleNode.
If it's ok to you I can do a PR to support this use case.
Reproduction steps
X
Code
scale = scale.mul( float( scaleNode ) ); |
to
scale = scale.mul( vec2( scaleNode ) );
Live example
X
Screenshots
X
Version
r173
Device
No response
Browser
No response
OS
No response
Mugen87 and sunag