Open davibu opened 1 year ago
@davibu Please upload a minimal reproduction project to make this easier to troubleshoot. (It's faster than having us cobble together the project back from the parts you uploaded.)
Can you reproduce this after switching the rendering method to Compatibility in the top-right corner? The web export always uses the Compatibility rendering method.
@Calinou Exporting via Compatibility works. (Tested with Godot 4.0.1) Forward+ export still produces the same issue.
The minimal reproduction project: DeferredViewport.zip
I ran into the same issue. It seems to be some issue with the SubViewport's Update Mode since when render_target_update_mode
is set to UpdateMode.UPDATE_ALWAYS
then it works regardless of renderer in exported builds.
b
This doesn't seem to be the case for me, I have it set to that in the editor and they don't work
Has a solution been found? I am running Godot 4.1.1 and have this exact issue...
Has a solution been found? I am running Godot 4.1.1 and have this exact issue...
Not to my knowledge, but I haven't looked into it since
Has a solution been found? I am running Godot 4.1.1 and have this exact issue...
Not to my knowledge, but I haven't looked into it since
Ok thanks.
I can't reproduce this on Godot 4.2.2-stable Forward+ (Windows, tested with both Release and Debug)
Godot version
4.0.1
System information
Pop!_OS 22.04 LTS
Issue description
The SubViewport texture is not loaded correctly when applying to a uniform for gdshader use. It works in the editor and on web-export, but doesn't work after exporting for Windows or Linux. (other export platforms not tested)
Steps to reproduce
Minimal reproduction project
General Scene structure
SubViewport Inspector
TextureRect Inspector
TextureRect Inspector Material
TextureRect Script
Shader Code
Play Scene in editor
After Export on Linux