Jump to content

Ghost

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by Ghost

  1. Is it possible to somehow render an object on a specific camera?
  2. Hi. How can I make the material change only on one object? If I change the material through the code, then for some reason it changes on all the same models in the scene.
  3. Can someone explain how to use the Rick's saveload.lua script? The video that was attached to the script is not available. I would like to figure out how to save and load progress. Thanks.
  4. Hmm. Fixed it. It turned out the problem was in the line Script.textColor = Vec4(255,255,255,255) Changed to Script.textColor = Vec4(1,1,1,1)
  5. The text has become so strangely displayed. I didn't touch anything in the code. Everything was fine. What could be the reason?
  6. Partially helped, thanks. Alternatively, I can include this material directly after the character's death.
  7. If I change the specular map to completely black, the red color disappears, but the character stops responding to the lighting.
  8. I'm using a dissolve shader by Shadmar, but my character is completely glowing red. What am I doing wrong? Even when I change the color of the dissolving, the texture of the character remains red.
  9. What should I do if I just want to read the files and not change them?
  10. Hmm, it's strange, but then why does the script of notes in the style of Amnesia work without problems?
  11. Maybe there is some kind of analog, how to do the same thing, but without Lua IO?
  12. local file1 = io.open(self.text_en, "r") for line in file1:lines() do table.insert (self.monolog_en, line); end file1:close() During the test, everything works as it should, but after compilation, the map simply does not open and the game closes without any errors. Why is this happening, does anyone know?
  13. Ghost

    Untitled

  14. Hi, what about similar shaders? Is it possible to adapt this? https://www.shadertoy.com/view/tsfXWj
  15. Ghost

    untitled

  16. Ghost

    Lamp

×
×
  • Create New...