alpha channel data overwritten to 1 on material vector 4 parameters in verse set materials.

Summary

defaults the alpha channel to a value of 1.0, overwriting settings inside of the material. Converts the vec4 into a “color” type parameter, which only has RGB information.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

  1. Create a vector 4 parameter within a material
  2. Set alpha channel to anything other than 1 (make sure its plugged into some way of displaying it)
  3. Apply the material to a mesh or material block through verse (setting the specific parameter is not necessary)

( in photos the material is NOT applied to the mesh through verse, so the alpha channel behaves as normal, its there for reference)

Expected Result

The alpha channel is included in the verse parameter or is left unchanged.

Observed Result

RGB values are unchanged but alpha channel value on Vector 4 parameter is set to 1.0 (overwriting values set in material graph / instance)

Platform(s)

Windows

Upload an image



Additional Notes

Not a huge issue, can be avoided by not using alpha channel and instead using a separate scalar parameter.