Engine icon indicating copy to clipboard operation
Engine copied to clipboard

Bug: Projected Textures ignore texture transforms.

Open November-N opened this issue 3 years ago • 3 comments

Describe the bug

It appears like projected textures completely ignores texture transforms and use the untransformed texture instead.

A concrete texture with no projected texture: A ssbump is used for the seams, with a completely flat basetexture. https://media.discordapp.net/attachments/1017636098282893364/1028782218040057887/unknown.png?width=1206&height=676 With projected texture: Notice the seams change in the area of the projected texture's affect. https://media.discordapp.net/attachments/1017636098282893364/1028782691665055744/unknown.png?width=1204&height=676 Grating that uses a 512 albedo that's scaled to 64u: Notice the shadows show as if it were twice as large. https://media.discordapp.net/attachments/1017636098282893364/1028784176499019957/unknown.png?width=544&height=675

To Reproduce

Create a material that uses texture transforms, $bumpmap and $alphatest are where most issues appear for us. Put the material in a scene that involves projected textures. Observe the oddities.

Issue Map

Any map that uses projected textures and a material that includes transforms.

Expected Behavior

Projected textures should respect the transform and show properly.

Operating System

No response

November-N avatar Oct 09 '22 21:10 November-N

transformtest.zip Old issue, forgot the map 😭 , the normal map issue seems to be fixed but the shadows continue to be incorrectly cast. image

November-N avatar Jun 20 '24 19:06 November-N

transformtest (2).zip forgot vmf as always..

November-N avatar Jun 20 '24 19:06 November-N

This has now been implemented for -textureshadows and will be live in the next staging build. I've changed the issue title to match :P

ozxybox avatar Jun 26 '24 14:06 ozxybox