godot icon indicating copy to clipboard operation
godot copied to clipboard

writing to `POSITION` gives wrong `VIEW` in fragment shader

Open darthLeviN opened this issue 4 months ago • 3 comments

Tested versions

stable 4.3

System information

Kubuntu 22.04

Issue description

If you write to POSITION to make a full screen post processor, then your VIEW vector will become invalid and you have to calculate it manually. What i observe that if i write to POSITION then the VIEW variable will become affected by camera translation.

Steps to reproduce

write to POSITION

Minimal reproduction project (MRP)

viewbugreport.zip

darthLeviN avatar Oct 20 '24 11:10 darthLeviN