Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cubemap Node does not accept an imported cubemap #91343

Open
Steinbeuge opened this issue Apr 30, 2024 · 0 comments
Open

Cubemap Node does not accept an imported cubemap #91343

Steinbeuge opened this issue Apr 30, 2024 · 0 comments

Comments

@Steinbeuge
Copy link

Tested versions

v4.2.1.stable.official [b09f793]

System information

Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX 5500 XT () - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)

Issue description

When adding a Cubemap node to the shader, a shader parameter appears that will accept imported cube maps. However you may not put an imported texture in to the field of a Cubemap node. Using the shader param for the input seems to override the node.
image

None of this seems to be documented in help files.
EyeDir node is only available in Sky shader.
I couldn't seem to get global view direction in spatial shader to work with normal/reflect etc to properly apply a custom cube map (tried many many combos that should work, noticed that when plugging global view direction in to albedo the color never changes when rotating camera)

Steps to reproduce

Create:
World
Enviro
Sky
Material
Node Shader

Import 3x2 cube map .PNG, set import settings and re-import.
Try to apply the cube map to a cubemap node

Minimal reproduction project (MRP)

cubetest.zip

@Chaosus Chaosus changed the title Cubmap Node does not accept an imported cubemap Cubemap Node does not accept an imported cubemap May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants