Jump to content

Andrew

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

  • Medals

Community Reputation

1 Neutral

About Andrew

  • Rank
    Rookie
  1. Andrew

    Config.cpp Help

    You need will add the model and config to ".pbo" if you want to see the model in the game. Use "BinPBO" or another similar program.
  2. - Can you post a picture? http://s2.ipicture.ru/uploads/20130318/Tf2B2T5c.png (711 kB) You can see that right part of the table (lit part) has reflection but left part (in the shadow) hasn't. - Try this I have tried this rvmat but reflection is not show. I tried with shadows enabled and without shadows too. At this image http://s2.ipicture.ru/uploads/20130318/SVr41gwt.png (484 kB) you can see reflection on left table (it is my rvmat) and without reflection on right table (it is your rvmat). The scene without shadows.
  3. Hi. I am trying to create table surface with reflection. But I have trouble - the reflection is not showed in the shadow, when the sun shines the reflection works well, but the table is most time in the shadow and reflection is invisible. You can see on the screenshot that lit part of the table has reflection but another part hasn't reflection. How can I fix it? rvmat for the table surface: ---glass_reflection.rvmat--- ambient[]={1,1,1,1}; diffuse[]={1,1,1,1}; forcedDiffuse[]={0,0,0,0}; emmisive[]={0,0,0,1}; specular[]={1,1,1,0}; specularPower=21.299999; renderFlags[]= { "NoAlphaWrite" }; nextPass="MyHouse\glass-pass2.rvmat"; PixelShaderID="Glass"; VertexShaderID="Glass"; class Stage1 { texture="#(ai,64,64,1)fresnelGlass()"; uvSource="none"; }; class Stage2 { texture="MyHouse\env.paa"; uvSource="none"; }; ---glasspass2.rvmat--- ambient[]={1.000000,1.000000,1.000000,1.000000}; diffuse[]={1.000000,1.000000,1.000000,1.000000}; forcedDiffuse[]={0.000000,0.000000,0.000000,0.000000}; emmisive[]={0.000000,0.000000,0.000000,1.000000}; specular[]={0.000000,0.000000,0.000000,0.000000}; specularPower=0.000000; renderFlags[]= { "NoColorWrite" }; PixelShaderID="AlphaShadow"; VertexShaderID="Basic";
  4. Hi. I am trying to create table surface with reflection. But I have trouble - the reflection is not showed in the shadow, when the sun shines the reflection works well, but the table is most time in the shadow and reflection is invisible. You can see on the screenshot that lit part of the table has reflection but another part hasn't reflection. How can I fix it? rvmat for the table surface: ---glass_reflection.rvmat--- ambient[]={1,1,1,1}; diffuse[]={1,1,1,1}; forcedDiffuse[]={0,0,0,0}; emmisive[]={0,0,0,1}; specular[]={1,1,1,0}; specularPower=21.299999; renderFlags[]= { "NoAlphaWrite" }; nextPass="MyHouse\glass-pass2.rvmat"; PixelShaderID="Glass"; VertexShaderID="Glass"; class Stage1 { texture="#(ai,64,64,1)fresnelGlass()"; uvSource="none"; }; class Stage2 { texture="MyHouse\env.paa"; uvSource="none"; }; ---glasspass2.rvmat--- ambient[]={1.000000,1.000000,1.000000,1.000000}; diffuse[]={1.000000,1.000000,1.000000,1.000000}; forcedDiffuse[]={0.000000,0.000000,0.000000,0.000000}; emmisive[]={0.000000,0.000000,0.000000,1.000000}; specular[]={0.000000,0.000000,0.000000,0.000000}; specularPower=0.000000; renderFlags[]= { "NoColorWrite" }; PixelShaderID="AlphaShadow"; VertexShaderID="Basic";
×