You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Fn, as the examples in the wiki many times does not work for fogNode, but also, setting direct output like a vec to a fogNode does not work as well
Tested only the case of scene.fogNode, and not aware if the same issue is reproduced using other nodes from the scene.
Example here of setting a fogNode
1st case =>
setting the fogNode to a direct variable = vec3(1.0, 1.0, 1.0) => not working
2nd case =>
Using Fn to return a hardcoded rangeFog => not working
3rd case =>
Using inline to return a hardcode rangeFog => working
Reproduction steps
Visit the fiddle, and change the CASE variable from 0 to 2
The text was updated successfully, but these errors were encountered:
Samsy
changed the title
Setting hardcoded vec values to a node does not work, also Fn TSL does not work
Setting hardcoded vec values to a fogNode does not work, also Fn TSL does not work
Dec 9, 2024
Description
Using Fn, as the examples in the wiki many times does not work for fogNode, but also, setting direct output like a vec to a fogNode does not work as well
Tested only the case of scene.fogNode, and not aware if the same issue is reproduced using other nodes from the scene.
Example here of setting a fogNode
1st case =>
setting the fogNode to a direct variable = vec3(1.0, 1.0, 1.0) => not working
2nd case =>
Using Fn to return a hardcoded rangeFog => not working
3rd case =>
Using inline to return a hardcode rangeFog => working
Reproduction steps
Visit the fiddle, and change the CASE variable from 0 to 2
Live example
Live fiddle
Screenshots
working case number 2 :
Version
171
Device
Desktop
Browser
Chrome
OS
Windows, MacOS
The text was updated successfully, but these errors were encountered: