Jump to content

Roland

Members
  • Posts

    2,953
  • Joined

  • Last visited

Everything posted by Roland

  1. Mayby your are 'cheating' by having this line at top.. #pragma warning(disable:4244) or maybe some compiler setting
  2. Why this unusual thing. Including source files in source files. Personally I would prefer standard behaviour, thats do it as usual and include the source files in the project. First when compiling I was really confused. Why on earth do I get the error LNK2005: .... already defined in engine.obj But then I found those lines in gamelib.cpp. Problem solved by just comment them out #include "gamelib.h" //#include "engine.cpp" //#include "framewerk.cpp" //#include "renderer.cpp" //#include "layer.cpp"
  3. To get rid of this type of warnings cpp\renderer.cpp(457) : warning C4244: 'argument' : conversion from 'double' to 'flt', possible loss of data following lines needs to be changed in Renderer.cpp Renderer.cpp 457 ScaleEntity( skybox, Vec3(farrange/2.0f) ); Renderer.cpp 798-800 SetShaderFloat(postfilter,"saturation",(flt)saturation); SetShaderFloat(postfilter,"brightness",(flt)brightness); SetShaderFloat(postfilter,"contrast",(flt)contrast); Renderer.cpp 1085 SetColor(Vec4(1,1,1,(flt)irisadjustmentspeed*AppSpeed()));
  4. PixelPerfect Yes I'm the everyday resync type of guy. Marleys Ghost Thanks for the tip. Seems to be same thing that Josh suggests Josh Tested with incresing from 100 to 1500 and the results are much better. Some strange things still appears. I will test around a little more, I know my terrain is a bit extreme but thats my idea. I could try make the cliff walls half the height to see if that will make things better I played around a little more with the light values and got acceptable results by not only increasing the range, but also increasing the Shadow Distance Y value. Those changes gave pretty good shadows but there was still a "shadow ring" around the camera sometimes. However I got rid of this by decreasing the Shadow Distance X value. So I think my problem is solved for now
  5. Hi I have some weird shadows in my very simple terrain (1024x1024) with one single directinal light. Check this video which shows the problem. Its appearing on all places in the terrain. Is there anything I can do about it?
  6. This one Animeeple is free and works nicely with TrueBones
×
×
  • Create New...