ScarT wrote:Textures with $selfillum crashes for me, even in the build on the SVN.
- Code: Select all
Unhandled exception at 0x0DB0EE80 (shaderapidx9.dll) in swarm.exe: 0xC0000005: Access violation reading location 0x0000000C.
It points me to line 423 in \materialsystem\swarmshaders\defpass_composite.cpp
Specifically at
pShaderAPI->SetPixelShaderConstant( 10, params[ info.iSelfIllumTint ]->GetVecValue() );
The callstack can be found here.
http://pastebin.com/t0HqjQ41
Did you use it on a brush?
It looks like I forgot to copy the self illum vars to deferred_brush (only tested it on models actually...).










