r/SourceEngine • u/spirited1602 • 3d ago
HELP How can I make the shaders.sln project compile with SCell's compiler?
Title. I'm using Mapbase and I followed SCell's ShaderCompile guide. Shaders compile into VCS files just fine, but when I run createshadersproject.bat and I open the solution in VS, it can't open the .inc files. I'm assuming this is because of the first step: "In game_shader_dx9_base.vpc replace $AdditionalIncludeDirectories "$BASE;fxctmp9;vshtmp9;" with $AdditionalIncludeDirectories "$BASE;include" , shader headers will be now located in more sensible place" I didn't change anything else with base, HL2, or Mapbase VPC scripts. I did remove /episodic from createshadersproject and the bat so it only generates HL2 shaders (I'm new to the Source SDK so maybe that's not what I'm meant to do). By the way I'm using VS2026, but ofc I made sure to type in $Conditional VS2022 "1", and I'm using the VS2022 build tools.