Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Code in shaders greyed out incorrectly

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
daniwrig Posted - Feb 13 2026 : 3:07:32 PM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000