Hey y’all! For context, my game has lighting which is entirely shader-based; no actual lights are placed in the scene, it is all visuals created with nodes in the material editor! This is because the airplane environment has simple enough lighting for simply “faking” it to be a huge save on performance, file size, etc.
When I was testing how this airplane environment looked between SM5 and SM6, I noticed the following differences.
SM6:
SM5:
The bottom one is SM5. Notice how the shadowing on the wall has been changed, and the shadowing on the ceiling has disappeared altogether! For both of these fake shadowing effects, I used a Texture Sample of a chunk of shadow that I then tiled repeatedly by using the WorldPosition node for their UVs.
What about that is breaking when switching down to SM5? I haven’t been able to find something like that mentioned anywhere on the internet when comparing differences between 5 and 6.
Here is the node setup for one of these shadow effects, for extra context on what particularly here could be incompatible with SM5:
Any thoughts or feedback would be appreciated, even if you’re not entirely sure why this is happening. Thanks!


