• Welcome to MX Bikes Official Forum. Please login or sign up.
 
March 28, 2024, 07:00:15 PM

News:

MX Bikes beta18j available! :)


Generating good shadows on terrain

Started by Asdrael, February 23, 2017, 03:40:38 PM

Previous topic - Next topic

Asdrael

I'm trying to have dark, sharp shadows cast by terrain (the actual textured heightmap, not an object) onto itself. I can't manage. Played with params.ini and .amb to no avail.

Any tips?
Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord

𝖙𝖋𝖈

I did this as a texture layer. Imported the heightmap into blender, set up scale, set up sun position to be the same as Params and amb, rendered shadows, exported orthographic view from above at 2049, made a black tile, made a mask from the render at 20% opacity.

Looked great, but of course this becomes a deformable layer.

Perhaps pib could add a layer type that doesn't deform and loose texture but sits above everything else, allowing layers below to deform correctly.

The other problem was there was a slight overlap in some places and I couldn't work out why. Other places it looked 100% perfect.

Asdrael

Question 2 about shadows: anyway to ge the layout (track.lyt) stuff to cast shadows?
Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord

PiBoSo

Quote from: Asdrael on February 26, 2017, 05:35:20 PM
Question 2 about shadows: anyway to ge the layout (track.lyt) stuff to cast shadows?

At the moment it's not possible.

Asdrael

Donate to me -> feed my coffee addiction -> get more mods!
OEM bikes pack
MXBikes Discord