Results 1 to 2 of 2

Thread: Cannot load texture #(ai,32,128,1)irradiance when using .rvmat

  1. #1
    Private First Class seysen's Avatar
    Join Date
    Jul 5 2009
    Location
    Russia, Voronezh
    Posts
    12

    Cannot load texture #(ai,32,128,1)irradiance when using .rvmat

    I want to add normal map to models in my addon. So I used NormalMap Vertex shader & Pixel shader like it described on example. I have some similar models. On one of models object1.rvmat looks like this:
    Code:
    PixelShaderID="NormalMap";
    VertexShaderID="NormalMap";
    
    class Stage1
    {
       texture="x\addons\object1_no.paa"; 
       uvSource="tex";
       class uvTransform
       {
          aside[]={1,0,0};
          up[]={0,1,0};
          dir[]={0,0,1};
          pos[]={0,0,0};
       };
    };
    
    class Stage3
    {
       texture=”#(ai,32,128,1)irradiance(8)”; 
       uvSource="none";
    };
    It works fine.

    On the second model object2.rvmat looks like this:
    Code:
    PixelShaderID="NormalMap";
    VertexShaderID="NormalMap";
    
    class Stage1
    {
       texture="x\addons\object2_no.paa"; 
       uvSource="tex";
       class uvTransform
       {
          aside[]={1,0,0};
          up[]={0,1,0};
          dir[]={0,0,1};
          pos[]={0,0,0};
       };
    };
    
    class Stage3
    {
       texture=”#(ai,32,128,1)irradiance(8)”; 
       uvSource="none";
    };
    And with it Buldozer tells me "Cannot load texture #(ai,32,128,1)irradiance."
    The differences between 2 rvmat's are path to the normal map texture. One of it works. Second and more show error.
    What I'm doing wrong?

  2. #2
    Private First Class seysen's Avatar
    Join Date
    Jul 5 2009
    Location
    Russia, Voronezh
    Posts
    12
    Author of the Thread
    Re-saving using the Material Editor has helped.
    All done.

Similar Threads

  1. cannot load material....RVMAT damage textures
    By Pathetic_Berserker in forum ARMA 2 & OA : ADDONS - Configs & Scripting
    Replies: 2
    Last Post: Mar 26 2012, 10:51
  2. weird rvmat/texture issue. No issues in buldozer
    By Fox '09 in forum ARMA 2 & OA : ADDONS - Configs & Scripting
    Replies: 2
    Last Post: Jan 9 2011, 23:07
  3. "Cannot load material file #.rvmat"
    By .40k in forum ARMA 2 & OA : MODELLING - (O2)
    Replies: 5
    Last Post: Apr 20 2010, 12:19
  4. rvmat texture values
    By rtruxler in forum ARMA 2 & OA : MODELLING - (O2)
    Replies: 4
    Last Post: Aug 19 2009, 21:19
  5. 128* 128 Pixel jpg.
    By Deus Ex in forum TROUBLESHOOTING
    Replies: 1
    Last Post: Jan 23 2002, 00:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •