Shadow radius definition question

edited 2014 Jun 1 in Technical Support
Hi devs!
Does the "Shadow radius" parameter working?
I want to have a little wider shadow under decoration model and tried different values from 1 to 80 (world units, I think), but it gave me the same result. I used debug render with plain gray to check it.
ShadowRadius.png
Model {
  State = "ZTWINEDTORCH_1";
  Inter = 0;
  Scale XYZ = { 1.0 1.0 1.0 };
  Offset XYZ = { 0.0 0.0 0.0 };
  Shadow radius = 30;
  Md2 { 
    File = "Decor/TwinedTorch/TwinedTorch.md2";
    Skin file = "Decor/TwinedTorch/TwinedTorch.png";
    Flags = litshiny | specular;
    Shiny skin = "Common/common_shine.png";
    Shiny = 0.3;
    Shiny color { 1.0 1.0 1.0 };
    Frame = "Attack_1"; 
  };
  Md2 { 
    File = "Decor/TwinedTorch/TwinedTorch_Glow.md2";
    Skin file = "Decor/TwinedTorch/TwinedTorch_Glow.png";
    Flags = brightshadow2 | fullbright;
    Transparent = 0.0;
    Frame = "Attack_1";
  };
}
Doomsday version 1.14.4 and default renderer profile.

Comments

  • IIRC the sprites for this mobj are set to be full bright; full bright sprites are unable to have shadows.

    Perhaps this also prevents a model def based shadow as well.
  • I already turn off fullbright flag for that "thing" in the state definition. So it no longer emit light and lit the area. I want to use a custom lights.
  • i don't think you can change the shadow radius. as what the wiki has dose not tell me it is possible but the devs would know more then whats on the wiki.
  • veirdo wrote:
    Does the "Shadow radius" parameter working?
    The Model definition "Shadow radius" is presently ignored.


    This commit from December 2013 disabled it for some reason. Perhaps DaniJ can elaborate.

    I added a bug about this.
  • I must have had a reason at the time, though I don't recall what that was. Reading through the related commits theres nothing that stands out. I'll enable it again and do some tests...
  • skyjake wrote:
    The Model definition "Shadow radius" is presently ignored.
    Okay, I have an universal solution in that case: a "decal" plain with a shadow texture.
    ShadowRadius01.png
Sign In or Register to comment.