Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Code in shaders greyed out incorrectly
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

daniwrig
New Member

2 Posts

Posted - Feb 13 2026 :  3:07:32 PM  Show Profile  Reply with Quote
Hi, I'm working on shaders in Unreal Engine. These files have .usf or .ush extensions. When Visual Assist has 'Enable support for shader files' enabled, all the lines of code inside #if statements are greyed out, making it very difficult to understand, even though these conditions can't be known by Visual Assist.

eg

#if LUMEN_HARDWARE_RAYTRACING || LUMEN_HARDWARE_INLINE_RAYTRACING

ALL CODE HERE IS GREYED OUT, EVEN THOUGH VAX DOESN'T KNOW THE VALUE OF LUMEN_HARDWARE_RAYTRACING

#endif


If I disable 'Enable support for shader files', then the greying out is fixed.

VA_X64.dll file version 10.9.2602.0 built 2026.02.05
DevEnv.exe version 17.14.36930.0 Professional
msenv.dll version 17.0.36915.8
Comctl32.dll version 6.10.26100.7824
Windows 11 11.0 24H2 Build 26100
64 processors (x86-64)
Language info: 1252, 0x409
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000