Skip to content

Bug: $emissiontransform doesn't translate the emission texture #1661

@lenship2

Description

@lenship2

Describe the bug

Recently $emissiontransform was implemented for the PBR shader, which would allow emission textures to do cool material proxy things. However, only the rotation and scale values work for $emissiontransform, and setting the translate value to anything won't actually translate the texture.

Attached is an excerpt of the lab server model from my EverythingPBR addon, where the display with the sin graph should be scrolling at a constant rate. However, the display is stationary due to this bug.

emissiontransformbug.zip

To Reproduce

  1. Have a material that uses emission textures
  2. Add a material proxy such as TextureScroll that translates a texture and apply it to use $emissiontransform
  3. it doesn't move....

Issue Map

N/A

Expected Behavior

$emissiontransform should be able to translate the emission texture, along with being able to rotate and scale it.

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions